Skip to content

Commit

Permalink
exclude binary from test build
Browse files Browse the repository at this point in the history
  • Loading branch information
olix0r committed Mar 10, 2024
1 parent 2ff012c commit 0f7459a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@ jobs:
**/*.rs
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- id: cargo-crates
if: steps.cargo.outputs.any_changed
run: ./.github/list-crates.sh ${{ steps.cargo.outputs.all_changed_files }}
outputs:
any_changed: ${{ steps.build.outputs.any_changed || steps.cargo.outputs.any_changed || steps.rust.outputs.any_changed }}
build_changed: ${{ steps.build.outputs.any_changed }}
cargo_changed: ${{ steps.cargo.outputs.any_changed }}
cargo_crates: ${{ steps.cargo-crates.outputs.crates }}
cargo_crates: ${{ steps.cargo.outputs.any_changed ? steps.cargo-crates.outputs.crates : '[]' }}

Check failure on line 43 in .github/workflows/pr.yml

View workflow job for this annotation

GitHub Actions / actionlint

could not parse as YAML: yaml: line 43: mapping values are not allowed in this context ``` cargo_crates: ${{ steps.cargo.outputs.any_changed ? steps.cargo-crates.outputs.crates : '[]' }} ```
rust_changed: ${{ steps.rust.outputs.any_changed }}

rust:
Expand All @@ -61,8 +62,8 @@ jobs:
- run: just check-fmt
- run: just clippy
- run: just doc
- run: just test-build
- run: just test
- run: just test --exclude=linkerd2-proxy --no-run
- run: just test --exclude=linkerd2-proxy

rust-crates:
needs: meta
Expand Down

0 comments on commit 0f7459a

Please sign in to comment.