switch to using rye #11
Workflow file for this run
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: Run tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: eifinger/setup-rye@v2 | |
- name: Pin python-version ${{ matrix.python-version }} | |
- name: Bootstrap dependencies | |
run: | | |
./bootstrap | |
- name: Run tests | |
run: | | |
rye test | |
- name: Run pre-commit | |
run: | | |
misc/run_precommit |