Add CI to run checks and tests; reformat everything so those tests pass #4
Workflow file for this run
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
| # .github/workflows/ci.yml | |
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| run: | | |
| set -euxo pipefail | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| echo "$HOME/.local/bin" >> $GITHUB_PATH | |
| - name: make check | |
| run: | | |
| set -euxo pipefail | |
| make check | |
| - name: make test | |
| run: | | |
| set -euxo pipefail | |
| make test | |
| - name: format --check (from make -n format) | |
| shell: bash | |
| run: | | |
| set -euxo pipefail | |
| make checkformat |