Skip to content

Commit 8499269

Browse files
ci: update test commands
1 parent ee42868 commit 8499269

File tree

3 files changed

+40
-18
lines changed

3 files changed

+40
-18
lines changed

.github/workflows/linux.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,16 @@ jobs:
3737
run: |
3838
rustc -Vv
3939
cargo -V
40-
cargo build
40+
cargo build --manifest-path rustfmt-core/Cargo.toml
41+
# - name: bin tests
42+
# run: cargo test-bin
43+
# - name: lib tests
44+
# run: cargo test-lib
45+
# - name: config tests
46+
# run: cargo test-config
47+
# - name: emitter tests
48+
# run: cargo test-emitter
4149
- name: test
42-
run: cargo test
43-
- name: 'test ignored'
44-
run: cargo test -- --ignored
50+
run: cargo test-all
51+
- name: test ignored
52+
run: cargo test-all -- --ignored

.github/workflows/mac.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,16 @@ jobs:
3232
run: |
3333
rustc -Vv
3434
cargo -V
35-
cargo build
35+
cargo build --manifest-path rustfmt-core/Cargo.toml
36+
# - name: bin tests
37+
# run: cargo test-bin
38+
# - name: lib tests
39+
# run: cargo test-lib
40+
# - name: config tests
41+
# run: cargo test-config
42+
# - name: emitter tests
43+
# run: cargo test-emitter
3644
- name: test
37-
run: cargo test
38-
- name: 'test ignored'
39-
run: cargo test -- --ignored
45+
run: cargo test-all
46+
- name: test ignored
47+
run: cargo test-all -- --ignored

.github/workflows/windows.yml

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,17 +77,23 @@ jobs:
7777
run: |
7878
rustc -Vv
7979
cargo -V
80-
cargo build
80+
cargo build --manifest-path rustfmt-core/Cargo.toml
8181
shell: cmd
82+
# - name: bin tests
83+
# run: cargo test-bin
84+
# shell: cmd
85+
# - name: lib tests
86+
# run: cargo test-lib
87+
# shell: cmd
88+
# - name: config tests
89+
# run: cargo test-config
90+
# shell: cmd
91+
# - name: emitter tests
92+
# run: cargo test-emitter
93+
# shell: cmd
8294
- name: test
83-
run: cargo test
95+
run: cargo test-all
8496
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
90-
shell: cmd
91-
- name: 'test rustfmt-core ignored'
92-
run: cargo test --manifest-path rustfmt-core/Cargo.toml -- --ignored
97+
- name: test ignored
98+
run: cargo test-all -- --ignored
9399
shell: cmd

0 commit comments

Comments
 (0)