Skip to content

Commit 02428c7

Browse files
ci: update test commands
1 parent ee42868 commit 02428c7

File tree

3 files changed

+15
-18
lines changed

3 files changed

+15
-18
lines changed

.github/workflows/linux.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ jobs:
3737
run: |
3838
rustc -Vv
3939
cargo -V
40-
cargo build
40+
cargo build --manifest-path rustfmt-core/Cargo.toml --workspace
41+
4142
- name: test
42-
run: cargo test
43-
- name: 'test ignored'
44-
run: cargo test -- --ignored
43+
run: cargo test-all
44+
- name: test ignored
45+
run: cargo test-all -- --ignored

.github/workflows/mac.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ jobs:
3232
run: |
3333
rustc -Vv
3434
cargo -V
35-
cargo build
35+
cargo build --manifest-path rustfmt-core/Cargo.toml --workspace
36+
3637
- name: test
37-
run: cargo test
38-
- name: 'test ignored'
39-
run: cargo test -- --ignored
38+
run: cargo test-all
39+
- name: test ignored
40+
run: cargo test-all -- --ignored

.github/workflows/windows.yml

+5-10
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,12 @@ jobs:
7777
run: |
7878
rustc -Vv
7979
cargo -V
80-
cargo build
80+
cargo build --manifest-path rustfmt-core/Cargo.toml --workspace
8181
shell: cmd
82+
8283
- name: test
83-
run: cargo test
84-
shell: cmd
85-
- name: 'test ignored'
86-
run: cargo test -- --ignored
87-
shell: cmd
88-
- name: 'test rustfmt-core'
89-
run: cargo test --manifest-path rustfmt-core/Cargo.toml
84+
run: cargo test-all
9085
shell: cmd
91-
- name: 'test rustfmt-core ignored'
92-
run: cargo test --manifest-path rustfmt-core/Cargo.toml -- --ignored
86+
- name: test ignored
87+
run: cargo test-all -- --ignored
9388
shell: cmd

0 commit comments

Comments
 (0)