Ensure that the uninstall script runs in the main directory (closes #… #102
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: CI | |
| on: [ push, pull_request ] | |
| jobs: | |
| tests: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| name: "Tests [${{ matrix.os }}]" | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update -y && \ | |
| sudo apt-get install -y ruby zsh shunit2 | |
| if: ${{ runner.os == 'Linux' }} | |
| - name: Install dependencies | |
| run: brew install shunit2 | |
| if: ${{ runner.os == 'macOS' }} | |
| - name: Configure env | |
| run: echo "SHUNIT2=$(command -v shunit2 2>/dev/null)" >> $GITHUB_ENV | |
| - name: Run tests | |
| run: make test |