Skip to content

Commit 146c28d

Browse files
chore(ci): remove release mode from papyrus ci (#3078)
commit-id:6f4f3c9c
1 parent c29bbbc commit 146c28d

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/papyrus_ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ jobs:
3636
- name: Build node
3737
run: |
3838
mkdir data
39-
cargo build -r -p papyrus_node
39+
cargo build -p papyrus_node
4040
4141
- name: Run executable
4242
run: >
43-
target/release/papyrus_node --base_layer.node_url ${{ secrets.CI_BASE_LAYER_NODE_URL }}
43+
target/debug/papyrus_node --base_layer.node_url ${{ secrets.CI_BASE_LAYER_NODE_URL }}
4444
& sleep 30 ; kill $!
4545
4646
executable-run-no-rpc:
@@ -51,11 +51,11 @@ jobs:
5151
- name: Build node
5252
run: |
5353
mkdir data
54-
cargo build -r -p papyrus_node --no-default-features
54+
cargo build -p papyrus_node --no-default-features
5555
5656
- name: Run executable
5757
run: >
58-
target/release/papyrus_node --base_layer.node_url ${{ secrets.CI_BASE_LAYER_NODE_URL }}
58+
target/debug/papyrus_node --base_layer.node_url ${{ secrets.CI_BASE_LAYER_NODE_URL }}
5959
& sleep 30 ; kill $!
6060
6161
# FIXME: Job is currently running out of disk space, error is hidden inside the `Annoatations`
@@ -67,7 +67,7 @@ jobs:
6767
# - uses: ./.github/actions/bootstrap
6868

6969
# - name: Build node
70-
# run: cargo build -r -p papyrus_node
70+
# run: cargo build -p papyrus_node
7171

7272
# - name: Run p2p sync end-to-end test
7373
# run: scripts/papyrus/p2p_sync_e2e_test/main.sh ${{ secrets.CI_BASE_LAYER_NODE_URL }}
@@ -78,12 +78,12 @@ jobs:
7878
- uses: actions/checkout@v4
7979
- uses: ./.github/actions/bootstrap
8080
- run: >
81-
cargo test -r
81+
cargo test
8282
--test latency_histogram
8383
--test gateway_integration_test
8484
--test feeder_gateway_integration_test
8585
-- --include-ignored --skip test_gw_integration_testnet;
86-
cargo run -r -p papyrus_node --bin central_source_integration_test --features="futures-util tokio-stream"
86+
cargo run -p papyrus_node --bin central_source_integration_test --features="futures-util tokio-stream"
8787
8888
test-no-rpc:
8989
runs-on: starkware-ubuntu-latest-medium
@@ -129,5 +129,5 @@ jobs:
129129
- 'crates/papyrus_storage/src/db/**'
130130
- uses: ./.github/actions/bootstrap
131131
# repeat this job 32 times. this is a random test for part of the code that may cause a corrupted database.
132-
- run: for run in {1..32}; do cargo test -r -p papyrus_storage -- --include-ignored common_prefix_compare_with_simple_table_random; done
132+
- run: for run in {1..32}; do cargo test -p papyrus_storage -- --include-ignored common_prefix_compare_with_simple_table_random; done
133133
if: steps.changes.outputs.target_directory == 'true'

.github/workflows/papyrus_nightly-tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ jobs:
4242
- run: mkdir data
4343

4444
- name: Build node
45-
run: cargo build -r -p papyrus_node
45+
run: cargo build -p papyrus_node
4646

4747
- name: Run executable
4848
run: >
49-
target/release/papyrus_node --base_layer.node_url ${{ secrets.CI_BASE_LAYER_NODE_URL }}
49+
target/debug/papyrus_node --base_layer.node_url ${{ secrets.CI_BASE_LAYER_NODE_URL }}
5050
& sleep 30 ; kill $!
5151
5252
test:
@@ -59,7 +59,7 @@ jobs:
5959

6060

6161
- run: |
62-
cargo test -r -p papyrus_node
62+
cargo test -p papyrus_node
6363
env:
6464
SEED: 0
6565
@@ -69,7 +69,7 @@ jobs:
6969
steps:
7070
- uses: actions/checkout@v4
7171
- uses: ./.github/actions/bootstrap
72-
- run: cargo build -r -p papyrus_load_test
72+
- run: cargo build -p papyrus_load_test
7373

7474
integration-test:
7575
runs-on: macos-latest
@@ -78,12 +78,12 @@ jobs:
7878
- uses: actions/checkout@v4
7979
- uses: ./.github/actions/bootstrap
8080
- run: >
81-
cargo test -r
81+
cargo test
8282
--test latency_histogram
8383
--test gateway_integration_test
8484
--test feeder_gateway_integration_test
8585
-- --include-ignored --skip test_gw_integration_testnet;
86-
cargo run -r -p papyrus_node --bin central_source_integration_test --features="futures-util tokio-stream"
86+
cargo run -p papyrus_node --bin central_source_integration_test --features="futures-util tokio-stream"
8787
8888
# TODO(dvir): make this run only if the path 'crates/papyrus_storage/src/db/**' (same path as in the CI) was changed on the
8989
# last day and increase the number of repetitions.
@@ -92,4 +92,4 @@ jobs:
9292
steps:
9393
- uses: actions/checkout@v4
9494
- uses: ./.github/actions/bootstrap
95-
- run: for run in {1..100}; do cargo test -r -p papyrus_storage -- --include-ignored common_prefix_compare_with_simple_table_random; done
95+
- run: for run in {1..100}; do cargo test -p papyrus_storage -- --include-ignored common_prefix_compare_with_simple_table_random; done

0 commit comments

Comments
 (0)