Skip to content

Commit

Permalink
ci: update CI Configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeyan Li 李则言 committed Mar 7, 2024
1 parent 47deb00 commit be6242b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- name: Generate Coverage Report
run: |
PYTHONPATH=$(realpath .) coverage xml coverage.xml
- name: Get Cover
uses: orgoro/coverage@v3.1
- name: Coverage comment
id: coverage_comment
uses: py-cov-action/python-coverage-comment-action@v3
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ mypy = "^1.8.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.coverage.run]
relative_files = true

0 comments on commit be6242b

Please sign in to comment.