add repocard #131
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |