Skip to content

Commit e8465d3

Browse files
authored
Make color and macros crates default members (#427)
* Make color and macros crates default members Signed-off-by: Nico Burns <nico@nicoburns.com> * Specify crates explicitly in CI config Signed-off-by: Nico Burns <nico@nicoburns.com> --------- Signed-off-by: Nico Burns <nico@nicoburns.com>
1 parent 4d4568b commit e8465d3

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

.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

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ skip_long_tests = []
4444

4545
[workspace]
4646
members = [".", "./macros", "./color"]
47+
default-members = [".", "./macros", "./color"]

0 commit comments

Comments
 (0)