Skip to content

Commit 9206d00

Browse files
committed
Remove separate test job
Already included in the check job.
1 parent dda4c9e commit 9206d00

File tree

1 file changed

+7
-29
lines changed

1 file changed

+7
-29
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ concurrency:
1616
cancel-in-progress: ${{ github.ref_name != 'main' }}
1717

1818
jobs:
19-
check:
20-
name: Check
19+
test:
20+
name: Check & Test
2121
strategy:
2222
fail-fast: false
2323
matrix:
@@ -34,7 +34,7 @@ jobs:
3434
steps:
3535
- uses: actions/checkout@v3
3636

37-
- name: Install extra deps
37+
- name: Install Wasm deps
3838
if: matrix.env.CARGO_BUILD_TARGET == 'wasm32-wasi'
3939
run: |
4040
rustup target add wasm32-wasi
@@ -50,10 +50,10 @@ jobs:
5050
- run: rustup show
5151

5252
- name: Cargo Check
53-
shell: bash
54-
run: |
55-
cargo check --all-targets --all-features --locked
56-
cargo test --no-run --all-targets --all-features
53+
run: cargo check --all-targets --all-features --locked
54+
55+
- name: Cargo Test
56+
run: cargo test --all-targets --all-features
5757

5858
format:
5959
name: Format
@@ -79,25 +79,3 @@ jobs:
7979
- run: rustup show
8080

8181
- run: cargo clippy -- -D warnings
82-
83-
test:
84-
name: Test
85-
strategy:
86-
fail-fast: false
87-
matrix:
88-
include:
89-
- os: windows-latest
90-
- os: ubuntu-latest
91-
- os: macos-latest
92-
runs-on: ${{ matrix.os }}
93-
steps:
94-
- uses: actions/checkout@v3
95-
96-
- uses: Swatinem/rust-cache@v2
97-
with:
98-
shared-key: ci
99-
save-if: false
100-
101-
- run: rustup show
102-
103-
- run: cargo test

0 commit comments

Comments
 (0)