diff options
| author | omnom62 <75066712+omnom62@users.noreply.github.com> | 2026-08-20 08:36:09 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-20 08:36:09 +1000 |
| commit | ea2fdf452455738d82b68c74681c259111bf3276 (patch) | |
| tree | 64c43e29f504933d96983101efcd2b756b7c9875 /.github/workflows | |
| parent | 57388aa126f9371d7d0e8d14765be970a86ea6c3 (diff) | |
| parent | 0fe5f71123e5ff1d489a91486076fc875fa2810e (diff) | |
| download | rest.vyos-ea2fdf452455738d82b68c74681c259111bf3276.tar.gz rest.vyos-ea2fdf452455738d82b68c74681c259111bf3276.zip | |
Merge branch 'main' into T8989_interfaces
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/codecoverage.yml | 22 |
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 |
