summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromnom62 <75066712+omnom62@users.noreply.github.com>2026-08-20 08:36:55 +1000
committerGitHub <noreply@github.com>2026-08-20 08:36:55 +1000
commitdb3bb6f45ca52ad4c85cfd88abe1ce71f5402769 (patch)
treeaf2ccddbe4050547ab1f12043f3a4c06c03b4365
parent0610b1507ff5632be6a1f8f70514cfdd4b7c63e8 (diff)
parent0fe5f71123e5ff1d489a91486076fc875fa2810e (diff)
downloadrest.vyos-T8989_prefix_lists.tar.gz
rest.vyos-T8989_prefix_lists.zip
Merge branch 'main' into T8989_prefix_listsT8989_prefix_lists
-rw-r--r--.github/workflows/codecoverage.yml22
1 files changed, 20 insertions, 2 deletions
diff --git a/.github/workflows/codecoverage.yml b/.github/workflows/codecoverage.yml
index 5f8945d..bff3cb1 100644
--- a/.github/workflows/codecoverage.yml
+++ b/.github/workflows/codecoverage.yml
@@ -58,14 +58,32 @@ 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
- uses: codecov/codecov-action@v7
+ uses: codecov/codecov-action@v7.0.0
with:
directory: ${{ steps.identify.outputs.collection_path }}
fail_ci_if_error: false
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.full_name == github.repository) &&
+ github.actor != 'dependabot[bot]' }}
+ uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
+ 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