Skip to content

add repocard

add repocard #131

Workflow file for this run

name: Test
on:
pull_request:
push: { branches: master }
jobs:
ubuntu:
name: Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Add current directory to path
run: echo "$PWD" >> $GITHUB_PATH
- name: Run shellcheck tests
run: shellcheck op setup
- name: Run approval tests
run: test/approve
macos:
name: macOS
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Add current directory to path
run: echo "$PWD" >> $GITHUB_PATH
- name: Upgrade the outdated bash
run: brew install bash
- name: Run approval tests
run: test/approve
ubuntu_setup:
name: Setup on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run setup
run: ./setup
- name: Test setup artifacts
run: test/setup_artifacts
- name: Run uninstall
run: ./uninstall
macos_setup:
name: Setup on macOS
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Upgrade the outdated bash and install completions
run: brew install bash bash-completion
- name: Run setup
run: ./setup
- name: Test setup artifacts
run: test/setup_artifacts
- name: Run uninstall
run: ./uninstall