Skip to content

Commit

Permalink
fix: build ci in release mode (#1263)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yael-Starkware authored Oct 10, 2023
1 parent e2dddc8 commit 4720b17
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: npm install -g [email protected]
- run: |
cargo test
cargo test -r
env:
SEED: 0
Expand All @@ -82,7 +82,7 @@ jobs:
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- run: cargo build -p papyrus_load_test
- run: cargo build -r -p papyrus_load_test

integration-test:
runs-on: ${{ matrix.os }}
Expand All @@ -96,8 +96,8 @@ jobs:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- run: >
cargo test --test '*' -- --include-ignored;
cargo run -p papyrus_node --bin central_source_integration_test
cargo test -r --test '*' -- --include-ignored;
cargo run -r -p papyrus_node --bin central_source_integration_test
rustfmt:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -149,7 +149,7 @@ jobs:
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- run: cargo doc --document-private-items --no-deps
- run: cargo doc -r --document-private-items --no-deps

check:
runs-on: ubuntu-latest
Expand All @@ -161,7 +161,7 @@ jobs:
with:
toolchain: stable
- uses: Swatinem/rust-cache@v2
- run: cargo check --all-features
- run: cargo check -r --all-features

codecov:
runs-on: ubuntu-latest
Expand All @@ -180,7 +180,7 @@ jobs:
- uses: Swatinem/rust-cache@v2
- run: npm install -g [email protected]
- name: Coverage
run: cargo llvm-cov --codecov --output-path codecov.json
run: cargo llvm-cov --codecov -r --output-path codecov.json
env:
SEED: 0
- name: Codecov
Expand Down

0 comments on commit 4720b17

Please sign in to comment.