We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e266374 + 6cd7fa0 commit 64a0188Copy full SHA for 64a0188
.github/workflows/run_tests.yml
@@ -27,7 +27,10 @@ jobs:
27
28
build:
29
runs-on: ubuntu-latest
30
-
+ permissions:
31
+ pull-requests: write
32
+ contents: read
33
+ id-token: write
34
steps:
35
- uses: actions/checkout@v2
36
- name: Set up Python 3.9
@@ -58,6 +61,7 @@ jobs:
58
61
pytest -ra --error-for-skips --junitxml=pytest.xml --cov-report=term-missing:skip-covered --cov=../../torchquad . | tee pytest-coverage.txt
59
62
- name: pytest coverage comment
60
63
uses: MishaKav/pytest-coverage-comment@main
64
+ if: github.event_name == 'pull_request'
65
with:
66
pytest-coverage-path: ./torchquad/tests/pytest-coverage.txt
67
title: Coverage Report
0 commit comments