diff options
| author | omnom62 <75066712+omnom62@users.noreply.github.com> | 2026-08-17 19:04:11 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-17 19:04:11 +1000 |
| commit | afe763182c12d1c1024a36cf9f56cd60a67ba018 (patch) | |
| tree | 2ce994d74b6e725180d2208145df9503a52c7eb8 | |
| parent | eec50acb814d4efb8af61fe8a30e14ab9e3fa420 (diff) | |
| parent | 7c016b40b296ad26182c7def8b3efc89ce9bc121 (diff) | |
| download | vyos.vyos-afe763182c12d1c1024a36cf9f56cd60a67ba018.tar.gz vyos.vyos-afe763182c12d1c1024a36cf9f56cd60a67ba018.zip | |
Merge branch 'main' into test/l3-interfaces-unit-tests
| -rw-r--r-- | .github/workflows/codecoverage.yml | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/.github/workflows/codecoverage.yml b/.github/workflows/codecoverage.yml index 5f8945d8..25155377 100644 --- a/.github/workflows/codecoverage.yml +++ b/.github/workflows/codecoverage.yml @@ -58,7 +58,7 @@ jobs: - name: Run Coverage tests run: | - pytest tests/unit -v --cov-report xml --cov=./ + pytest tests/unit -v --cov-report xml --cov=./ --junitxml=test-results/junit-codecoverage-codecoverage-pytest-s0.xml working-directory: ${{ steps.identify.outputs.collection_path }} - name: Upload coverage report to Codecov @@ -69,3 +69,21 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + + - name: Upload test results to Codecov + if: >- + ${{ !cancelled() && + (github.event_name != 'pull_request' || + github.event.pull_request.head.repo.fork == false) && + github.actor != 'dependabot[bot]' }} + uses: codecov/codecov-action@0fb7174895f61a3b6b78fc075e0cd60383518dac # v5.5.5 + timeout-minutes: 5 + continue-on-error: true + with: + report_type: test_results + files: ${{ steps.identify.outputs.collection_path }}/test-results/junit-codecoverage-codecoverage-pytest-s0.xml + disable_search: true + fail_ci_if_error: false + flags: unit-pytest-s0 + name: unit-pytest-s0 + version: v11.3.1 |
