Skip to content

Commit e096c9a

Browse files
committed
Specify crates explicitly in CI config
Signed-off-by: Nico Burns <nico@nicoburns.com>
1 parent c1c6faa commit e096c9a

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,29 +41,26 @@ jobs:
4141
run: cargo fmt --check && cargo clippy -- -Dwarnings
4242

4343
- name: Cargo build
44-
run: cargo build ${{ matrix.features }}
44+
run: cargo build -p cssparser ${{ matrix.features }}
4545

4646
- name: Cargo doc
47-
run: cargo doc ${{ matrix.features }}
47+
run: cargo doc -p cssparser ${{ matrix.features }}
4848

4949
- name: Cargo test
50-
run: cargo test ${{ matrix.features }}
50+
run: cargo test -p cssparser ${{ matrix.features }}
5151

5252
- name: macros build
53-
run: cargo build
54-
working-directory: macros
53+
run: cargo build -p cssparser-macros
5554

5655
- name: Color build
57-
run: cargo build
58-
working-directory: color
56+
run: cargo build -p cssparser-color
5957

6058
- name: Color test
61-
run: cargo test
62-
working-directory: color
59+
run: cargo test -p cssparser-color
6360

6461
- name: Cargo miri test
6562
if: "matrix.toolchain == 'nightly'"
66-
run: cargo miri test --features skip_long_tests ${{ matrix.features }}
63+
run: cargo miri test -p cssparser --features skip_long_tests ${{ matrix.features }}
6764

6865
build_result:
6966
name: Result

0 commit comments

Comments
 (0)