Skip to content

Test on multiple versions of Python. #173

Test on multiple versions of Python.

Test on multiple versions of Python. #173

Workflow file for this run

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