-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: build ci in release mode (#1263)
- Loading branch information
1 parent
e2dddc8
commit 4720b17
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 }} | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|