Skip to content

Commit

Permalink
Fix coverage report comments in pull requests (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
vs4vijay authored Nov 14, 2024
1 parent ce97fb4 commit 1a9dec3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ jobs:
cache: poetry
- name: Install dependencies
run: poetry install --all-extras
- name: Set GITHUB_TOKEN with write permissions
run: echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> $GITHUB_ENV
- name: Build coverage file
run: |
poetry run pytest -n 6 --junitxml=pytest.xml --cov=src/declarativex tests/ | tee pytest-coverage.txt
Expand All @@ -126,3 +128,4 @@ jobs:
with:
pytest-coverage-path: pytest-coverage.txt
junitxml-path: pytest.xml
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1a9dec3

Please sign in to comment.