name: Test on: push: branches: - main pull_request: branches: - main jobs: test: runs-on: ubuntu-latest strategy: matrix: python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 - name: Install poetry run: pipx install poetry - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} cache: poetry - run: poetry install - run: poetry run pytest