Skip to content

Commit

Permalink
added latest part
Browse files Browse the repository at this point in the history
  • Loading branch information
nucccc committed Dec 3, 2023
1 parent 8dd8364 commit 78214c7
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/cov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,17 @@ jobs:
- name: launch test
run: python3 -m pytest

- name: cov comment
id: coverage-comment
- name: cov_comment
id: coverage_comment
uses: py-cov-action/python-coverage-comment-action@v3
with:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_TOKEN: ${{ github.token }}

- name: Store Pull Request comment to be posted
uses: actions/upload-artifact@v3
if: steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
with:
# If you use a different name, update COMMENT_ARTIFACT_NAME accordingly
name: python-coverage-comment-action
# If you use a different name, update COMMENT_FILENAME accordingly
path: python-coverage-comment-action.txt

0 comments on commit 78214c7

Please sign in to comment.