Merge pull request #3887 from crazy-max/codecov-test-results
ci: upload test results to codecov
This commit is contained in:
@@ -148,14 +148,24 @@ jobs:
|
||||
TEST_REPORT_SUFFIX: "-${{ env.TESTREPORTS_NAME }}"
|
||||
TESTPKGS: "${{ matrix.pkg }}"
|
||||
-
|
||||
name: Send to Codecov
|
||||
name: Upload coverage to Codecov
|
||||
if: always()
|
||||
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
||||
with:
|
||||
directory: ./bin/testreports
|
||||
flags: integration
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
disable_file_fixes: true
|
||||
disable_file_fixes: true # needed for Go language https://docs.codecov.com/docs/fixing-reports
|
||||
-
|
||||
name: Upload test results to Codecov
|
||||
if: always()
|
||||
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
|
||||
with:
|
||||
report_type: test_results
|
||||
directory: ./bin/testreports
|
||||
flags: integration
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
disable_file_fixes: true # needed for Go language https://docs.codecov.com/docs/fixing-reports
|
||||
-
|
||||
name: Generate annotations
|
||||
if: always()
|
||||
@@ -225,7 +235,7 @@ jobs:
|
||||
"-covermode" "atomic" ${{ env.TESTFLAGS }}
|
||||
shell: bash
|
||||
-
|
||||
name: Send to Codecov
|
||||
name: Upload coverage to Codecov
|
||||
if: always()
|
||||
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
||||
with:
|
||||
@@ -233,7 +243,18 @@ jobs:
|
||||
env_vars: RUNNER_OS
|
||||
flags: unit
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
disable_file_fixes: true
|
||||
disable_file_fixes: true # needed for Go language https://docs.codecov.com/docs/fixing-reports
|
||||
-
|
||||
name: Upload test results to Codecov
|
||||
if: always()
|
||||
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
|
||||
with:
|
||||
report_type: test_results
|
||||
directory: ${{ env.TESTREPORTS_DIR }}
|
||||
env_vars: RUNNER_OS
|
||||
flags: unit
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
disable_file_fixes: true # needed for Go language https://docs.codecov.com/docs/fixing-reports
|
||||
-
|
||||
name: Generate annotations
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user