Skip to content

Commit e7268e1

Browse files
committed
ci: Enable junit support for the main CI run as well
Until now junit support was only used in the coverage run. But we want to collect statistics for other runs as well.
1 parent 4ecf6ee commit e7268e1

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/ci.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,19 @@ jobs:
109109
with:
110110
toolchain: ${{ format('{0}-{1}', matrix.channel, matrix.target.toolchain) }}
111111

112+
- name: Install nextest
113+
uses: taiki-e/install-action@44c6d64aa62cd779e873306675c7a58e86d6d532
114+
with:
115+
tool: nextest
116+
112117
- uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1
113118

114119
- name: Test
115-
run: cargo test --all-features
120+
run: cargo nextest run --profile ci --all-features
121+
122+
- name: Upload test results to Codecov
123+
if: ${{ !cancelled() }}
124+
uses: codecov/test-results-action@47f89e9acb64b76debcd5ea40642d25a4adced9f
125+
with:
126+
files: ./target/nextest/ci/junit.xml
127+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)