Skip to content

Commit

Permalink
workflows: disable coverage report comment
Browse files Browse the repository at this point in the history
  • Loading branch information
airwoodix committed Sep 11, 2023
1 parent f685fc4 commit a393b4c
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/poetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@ jobs:
path: htmlcov/
- name: Generate XML coverage report
run: poetry run coverage xml -o coverage.xml
- name: Read global coverage target
id: coverage-target
run: echo "fail-under=$(poetry run python scripts/read-target-coverage.py)" >> $GITHUB_OUTPUT
- name: Post coverage comment
if: ${{ github.event_name == 'pull_request' }}
uses: orgoro/coverage@v3
with:
coverageFile: coverage.xml
token: ${{ secrets.GITHUB_TOKEN }}
thresholdAll: ${{ steps.coverage-target.outputs.fail-under }}
thresholdNew: 0
thresholdModified: 0
# - name: Read global coverage target
# id: coverage-target
# run: echo "fail-under=$(poetry run python scripts/read-target-coverage.py)" >> $GITHUB_OUTPUT
# - name: Post coverage comment
# if: ${{ github.event_name == 'pull_request' }}
# uses: orgoro/coverage@v3
# with:
# coverageFile: coverage.xml
# token: ${{ secrets.GITHUB_TOKEN }}
# thresholdAll: ${{ steps.coverage-target.outputs.fail-under }}
# thresholdNew: 0
# thresholdModified: 0

0 comments on commit a393b4c

Please sign in to comment.