Skip to content

Commit ad13592

Browse files
committed
ci(repo): test action fix
1 parent 5068eaa commit ad13592

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
lines changed

.cargo/config.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ overflow-checks = true
2424

2525
[net]
2626
git-fetch-with-cli = true
27-
parallel = true

.github/workflows/ci.yaml

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -43,31 +43,8 @@ jobs:
4343
- name: Install dependencies
4444
run: cargo fetch
4545

46-
compile:
47-
needs: install-deps
48-
name: Compile ${{ matrix.package }}
49-
runs-on: ubuntu-latest
50-
strategy:
51-
fail-fast: false
52-
matrix:
53-
package:
54-
- fuel-streams
55-
- fuel-streams-core
56-
- fuel-streams-macros
57-
- fuel-streams-publisher
58-
steps:
59-
- uses: actions/checkout@v4
60-
61-
- name: Install Rust
62-
uses: ./.github/actions/setup-rust
63-
with:
64-
toolchain: ${{ env.RUST_NIGHTLY_VERSION }}
65-
66-
- name: Compile package
67-
run: cargo build --profile ci --package ${{ matrix.package }}
68-
6946
test:
70-
needs: compile
47+
needs: install-deps
7148
name: Test ${{ matrix.package }}
7249
runs-on: ubuntu-latest
7350
env:
@@ -104,7 +81,7 @@ jobs:
10481
make start/nats
10582
10683
- name: Run tests
107-
run: make test PROJECT=${{ matrix.package }} CARGO_PROFILE=ci
84+
run: make test PROFILE=ci TEST_PROJECT=${{ matrix.package }}
10885

10986
- name: Stop Nats
11087
if: always()

0 commit comments

Comments
 (0)