Test on multiple versions of Python. #173
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] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python: ['3.10', 3.11, 3.12, pypy-3.10] | |
steps: | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python }} | |
- run: pip install pip==24.0 | |
- uses: actions/checkout@v3 | |
- run: python util/install_deps.py | |
- run: pip install . | |
- uses: actions/cache@v3 | |
with: | |
key: cache-dir | |
path: /home/runner/.cache/simalq | |
- run: pip install pytest | |
- run: pytest tests |