Skip to content

Commit 8103db9

Browse files
committed
Manually specify manifest-path for lib tests
1 parent 360dc23 commit 8103db9

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,10 @@ jobs:
4242
lfs: true
4343
- name: Build
4444
run: |
45-
cd splashsurf_lib
46-
cargo build --package splashsurf_lib --all-features --verbose
45+
cargo build --manifest-path="splashsurf_lib/Cargo.toml" --all-features --verbose
4746
- name: Run tests
4847
run: |
49-
cd splashsurf_lib
50-
cargo test --package splashsurf_lib --all-features --verbose
48+
cargo test --manifest-path="splashsurf_lib/Cargo.toml" --all-features --verbose
5149
5250
build_lib_no_default_features:
5351

@@ -59,9 +57,7 @@ jobs:
5957
lfs: true
6058
- name: Build
6159
run: |
62-
cd splashsurf_lib
63-
cargo build --package splashsurf_lib --no-default-features --verbose
60+
cargo build --manifest-path="splashsurf_lib/Cargo.toml" --no-default-features --verbose
6461
- name: Run tests
6562
run: |
66-
cd splashsurf_lib
67-
cargo test --package splashsurf_lib --no-default-features --verbose
63+
cargo test --manifest-path="splashsurf_lib/Cargo.toml" --no-default-features --verbose

0 commit comments

Comments
 (0)