blubs #27
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: Tests | |
on: | |
push: ~ | |
pull_request: ~ | |
jobs: | |
test: | |
name: Testing with ${{ matrix.python-version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
python-version: ['3.9', '3.10', '3.11', '3.12', '3.x'] | |
experimental: [false] | |
include: | |
- os: windows-latest | |
python-version: '3.x' | |
experimental: true | |
- os: ubuntu-latest | |
python-version: 'pypy@3.10' | |
experimental: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install rye | |
uses: eifinger/setup-rye@v4 | |
with: | |
enable-cache: true | |
- name: Pin current Python version | |
run: rye pin ${{ matrix.python-version }} && rye run python --version | |
- name: Install dependencies | |
run: rye sync | |
- name: Run tests | |
continue-on-error: ${{ matrix.eperimental }} | |
run: rye run pytest |