Skip to content

Commit

Permalink
add test coverage for py3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Oct 24, 2024
1 parent 8fa5195 commit 1b58c28
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,17 @@ jobs:
if: matrix.test-format
- run: pyright --version
- run: pyright -p pyproject.toml --pythonversion ${{ matrix.python-version }}
- run: pytest
- if: matrix.python-version != '3.12'
run: pytest
- if: matrix.python-version == '3.12' && github.event_name == 'pull_request'
run: pytest --cov-report xml:coverage.xml
- if: matrix.python-version != '3.12' || github.event_name != 'pull_request'
uses: orgoro/[email protected]
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}



deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 1b58c28

Please sign in to comment.