Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci-tests-fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ jobs:
run: |
echo $GITHUB_RUN_ID
python -m coverage run --source ${{ env.COVERAGE_SCOPE }} \
-m pytest -v --timeout=30 --durations=50 --random-order-seed=$GITHUB_RUN_ID
-m pytest -v --timeout=30 --durations=50 --random-order-seed=$GITHUB_RUN_ID \
--junitxml=junit.xml -o junit_family=legacy # NOTE: for Codecov's test results

- name: Statistics
if: success()
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/ci-tests-pytorch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,8 @@ jobs:
run: |
echo $GITHUB_RUN_ID
python -m coverage run --source ${{ env.COVERAGE_SCOPE }} \
-m pytest . -v --timeout=60 --durations=50 --random-order-seed=$GITHUB_RUN_ID
-m pytest . -v --timeout=60 --durations=50 --random-order-seed=$GITHUB_RUN_ID \
--junitxml=junit.xml -o junit_family=legacy # NOTE: for Codecov's test results

- name: Statistics
if: success()
Expand All @@ -205,6 +206,12 @@ jobs:
coverage report
coverage xml

- name: Upload test results to Codecov
if: ${{ !cancelled() }} # Run even if tests fail
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
# see: https://github.com/actions/toolkit/issues/399
Expand Down
Loading