Skip to content

Commit ca7b8a8

Browse files
authored
Merge pull request #282 from interpretml/gaugup/LimitUnitTestPublish
Update pythonpackage.yml to limit one test result upload and one code coverage upload
2 parents bb9df91 + a25af23 commit ca7b8a8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/pythonpackage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ jobs:
4444
pytest tests/ --durations=10 --doctest-modules --junitxml=junit/test-results.xml --cov=dice_ml --cov-report=xml --cov-report=html
4545
- name: Publish Unit Test Results
4646
uses: EnricoMi/publish-unit-test-result-action/composite@v1
47-
if: always()
47+
if: ${{ (matrix.python-version == '3.8') && (matrix.os == 'ubuntu-latest') }}
4848
with:
4949
files: junit/test-results.xml
5050
- name: Upload coverage to Codecov
5151
uses: codecov/codecov-action@v2
52+
if: ${{ (matrix.python-version == '3.8') && (matrix.os == 'ubuntu-latest') }}
5253
with:
5354
token: ${{ secrets.CODECOV_TOKEN }}
5455
directory: .

0 commit comments

Comments
 (0)