Skip to content

Commit

Permalink
add publish test result (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidaobing authored Jul 14, 2024
1 parent b852fbb commit 403f421
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ jobs:
codecov:
runs-on: ubuntu-22.04
permissions:
checks: write
pull-requests: write
steps:
- uses: actions/checkout@v2
- name: apt install
Expand All @@ -98,12 +101,17 @@ jobs:
lcov --list coverage.info; #debug info
# https://docs.codecov.com/docs/quick-start
- name: "Upload coverage reports to Codecov"
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true # optional (default = false)
verbose: false # optional (default = false)
- name: "Publish Test Results"
uses: EnricoMi/publish-unit-test-result-action@v2
if: always()
with:
files: build/meson-logs/testlog.junit.xml

build_job:
# The host should always be linux
Expand Down

0 comments on commit 403f421

Please sign in to comment.