Skip to content

Commit 6ef4551

Browse files
authored
Separate forc-debug CI tests (#5544)
## Description Separating out the `forc-debug` tests, which are the only workspace tests that need the `fuel-core` binary installed. ## Checklist - [ ] I have linked to any relevant issues. - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [ ] I have added tests that prove my fix is effective or that my feature works. - [ ] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [ ] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [ ] I have requested a review from the relevant team or maintainers.
1 parent 575d2bb commit 6ef4551

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/ci.yml

+13-3
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,7 @@ jobs:
456456
exit 0
457457
;;
458458
esac
459-
460-
cargo-test-workspace:
459+
cargo-test-forc-debug:
461460
runs-on: ubuntu-latest
462461
needs: get-fuel-core-version
463462
steps:
@@ -473,7 +472,18 @@ jobs:
473472
version: ${{ needs.get-fuel-core-version.outputs.fuel_core_version }}
474473
- uses: Swatinem/rust-cache@v2
475474
- name: Run tests
476-
run: cargo test --locked --release
475+
run: cargo test --locked --release -p forc-debug
476+
cargo-test-workspace:
477+
runs-on: ubuntu-latest
478+
steps:
479+
- uses: actions/checkout@v3
480+
- name: Install toolchain
481+
uses: dtolnay/rust-toolchain@master
482+
with:
483+
toolchain: ${{ env.RUST_VERSION }}
484+
- uses: Swatinem/rust-cache@v2
485+
- name: Run tests
486+
run: cargo test --locked --release --workspace --exclude forc-debug
477487
cargo-unused-deps-check:
478488
runs-on: ubuntu-latest
479489
steps:

0 commit comments

Comments
 (0)