Skip to content

Test on multiple versions of Python. #170

Test on multiple versions of Python.

Test on multiple versions of Python. #170

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@v4
with:
python-version: ${{ matrix.python }}
- uses: actions/checkout@v3
- run: python3 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