Skip to content

Merge pull request #20 from ZenithClown/dependabot/github_actions/act… #5

Merge pull request #20 from ZenithClown/dependabot/github_actions/act…

Merge pull request #20 from ZenithClown/dependabot/github_actions/act… #5

Workflow file for this run

# This workflow runs the test suite across the Python version matrix.
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: Run Tests (pytest)
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.12", "3.13"]
steps:
- uses: actions/checkout@v6
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
python -m pip install -e .
- name: Run tests with pytest
run: |
python -m pytest tests/ -v --tb=short