name: Run tests on: push: branches: - '*' pull_request: types: [opened, reopened] workflow_dispatch: jobs: pytest: runs-on: ubuntu-latest strategy: matrix: python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - run: 'pip install .[dev]' - run: 'pytest -v'