Skip to content

Commit 33fdabf

Browse files
committed
Update job names and dependencies in test workflow
Enhanced job identifiers by adding the feature version to test name and specified dependencies for coverage job. This ensures clarity in job logs and enforces test completion before coverage execution.
1 parent 3705d71 commit 33fdabf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ env:
66

77
jobs:
88
test:
9-
name: Test ${{ matrix.rust }} on ${{ matrix.os }}
9+
name: Test ${{ matrix.rust }} on ${{ matrix.os }} ${{ matrix.feature }}
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
@@ -32,13 +32,14 @@ jobs:
3232
run: cargo test --workspace ${{ matrix.feature }}
3333

3434
coverage:
35-
name: Code coverage
35+
name: Code coverage (ubuntu + stable + default features)
3636
runs-on: ubuntu-latest
37+
needs: test
3738
steps:
3839
- name: Checkout code
3940
uses: actions/checkout@v5
4041

41-
- name: Install Rust toolchain
42+
- name: Install Rust toolchain (stable + llvm-tools)
4243
uses: dtolnay/rust-toolchain@stable
4344
with:
4445
components: llvm-tools-preview

0 commit comments

Comments
 (0)