Skip to content

Commit 70bbf97

Browse files
committed
exclude binary from test build
1 parent 2ff012c commit 70bbf97

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/pr.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ jobs:
3434
**/*.rs
3535
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
3636
- id: cargo-crates
37+
if: steps.cargo.outputs.any_changed
3738
run: ./.github/list-crates.sh ${{ steps.cargo.outputs.all_changed_files }}
3839
outputs:
3940
any_changed: ${{ steps.build.outputs.any_changed || steps.cargo.outputs.any_changed || steps.rust.outputs.any_changed }}
4041
build_changed: ${{ steps.build.outputs.any_changed }}
4142
cargo_changed: ${{ steps.cargo.outputs.any_changed }}
42-
cargo_crates: ${{ steps.cargo-crates.outputs.crates }}
43+
cargo_crates: ${{ steps.cargo-crates.outputs.crates || '[]' }}
4344
rust_changed: ${{ steps.rust.outputs.any_changed }}
4445

4546
rust:
@@ -61,8 +62,8 @@ jobs:
6162
- run: just check-fmt
6263
- run: just clippy
6364
- run: just doc
64-
- run: just test-build
65-
- run: just test
65+
- run: just test --exclude=linkerd2-proxy --no-run
66+
- run: just test --exclude=linkerd2-proxy
6667

6768
rust-crates:
6869
needs: meta

0 commit comments

Comments
 (0)