CI: Switch to ubuntu-latest #99
This file contains 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: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Upgrade pip | |
run: python3 -m pip install --upgrade pip | |
- name: Setup development environment | |
run: make dev-install | |
- name: Run tests | |
run: make test | |
- name: Report | |
run: | | |
python .github/workflows/get_markdown.py .coverage.xml 90 | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Upgrade pip | |
run: python3 -m pip install --upgrade pip | |
- name: Setup development environment | |
run: make dev-install | |
- name: Check formatting (use `make reformat` on error) | |
run: make formatting | |
- name: Run linter (try `make fix` on error) | |
run: make lint | |
- name: Check types | |
run: make typecheck |