22
22
- uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
23
23
- uses : software-mansion/setup-scarb@v1
24
24
- uses : software-mansion/setup-universal-sierra-compiler@v1
25
- - run : cargo test --release --lib -p forge
25
+ - run : cargo test --profile ci --lib -p forge
26
26
27
27
build-test-forge-nextest-archive :
28
28
runs-on : ubuntu-latest
37
37
with :
38
38
39
39
- name : Build and archive tests
40
- run : cargo nextest archive --release -p forge --features skip_plugin_checks --archive-file 'nextest-archive-${{ runner.os }}.tar.zst'
40
+ run : cargo nextest archive --cargo-profile ci -p forge --features skip_plugin_checks --archive-file 'nextest-archive-${{ runner.os }}.tar.zst'
41
41
- name : Upload archive to workflow
42
42
uses : actions/upload-artifact@v4
43
43
with :
@@ -157,8 +157,8 @@ jobs:
157
157
- uses : software-mansion/setup-scarb@v1
158
158
- uses : software-mansion/setup-universal-sierra-compiler@v1
159
159
160
- - run : cargo test --release --package forge --features interact-with-state --test main integration::interact_with_state
161
- - run : cargo test --release --package forge --features interact-with-state --test main e2e::running::test_interact_with_state
160
+ - run : cargo test --profile ci --package forge --features interact-with-state --test main integration::interact_with_state
161
+ - run : cargo test --profile ci --package forge --features interact-with-state --test main e2e::running::test_interact_with_state
162
162
163
163
test-forge-runner :
164
164
name : Test Forge Runner
@@ -167,7 +167,7 @@ jobs:
167
167
- uses : actions/checkout@v5
168
168
- uses : dtolnay/rust-toolchain@stable
169
169
- uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
170
- - run : cargo test --release -p forge_runner
170
+ - run : cargo test --profile ci -p forge_runner
171
171
172
172
test-cheatnet :
173
173
name : Test Cheatnet
@@ -179,7 +179,7 @@ jobs:
179
179
- uses : software-mansion/setup-scarb@v1
180
180
- uses : software-mansion/setup-universal-sierra-compiler@v1
181
181
- name : Run Cheatnet tests
182
- run : cargo test --release -p cheatnet
182
+ run : cargo test --profile ci -p cheatnet
183
183
184
184
test-data-transformer :
185
185
name : Test Data Transformer
@@ -189,7 +189,7 @@ jobs:
189
189
- uses : dtolnay/rust-toolchain@stable
190
190
- uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
191
191
- name : Run Data Transformer tests
192
- run : cargo test --release -p data-transformer
192
+ run : cargo test --profile ci -p data-transformer
193
193
194
194
test-forge-debugging :
195
195
name : Test Forge Debugging
@@ -201,7 +201,7 @@ jobs:
201
201
- uses : software-mansion/setup-scarb@v1
202
202
- uses : software-mansion/setup-universal-sierra-compiler@58146c4184fa6ec5e8aaf02309ab85e35f782ed0 # v1.0.0
203
203
- name : Run Forge Debugging tests
204
- run : cargo test --release -p forge --features debugging --test main e2e::debugging
204
+ run : cargo test --profile ci -p forge --features debugging --test main e2e::debugging
205
205
206
206
test-forge-scarb-plugin :
207
207
name : Test Forge Scarb Plugin
@@ -214,7 +214,7 @@ jobs:
214
214
- uses : software-mansion/setup-universal-sierra-compiler@v1
215
215
- name : Run Forge Scarb Plugin tests
216
216
working-directory : crates/snforge-scarb-plugin
217
- run : cargo test --release
217
+ run : cargo test --profile ci
218
218
219
219
test-forge-scarb-plugin-deprecated :
220
220
name : Test Forge Scarb Plugin Deprecated
@@ -227,7 +227,7 @@ jobs:
227
227
- uses : software-mansion/setup-universal-sierra-compiler@v1
228
228
- name : Run Forge Scarb Plugin tests
229
229
working-directory : crates/snforge-scarb-plugin-deprecated
230
- run : cargo test --release
230
+ run : cargo test --profile ci
231
231
232
232
test-cast :
233
233
name : Test Cast
@@ -242,7 +242,7 @@ jobs:
242
242
- uses : software-mansion/setup-scarb@v1
243
243
- uses : software-mansion/setup-universal-sierra-compiler@v1
244
244
- name : Run tests
245
- run : cargo test --release -p sncast
245
+ run : cargo test --profile ci -p sncast
246
246
247
247
test-conversions :
248
248
name : Test Conversions
@@ -254,7 +254,7 @@ jobs:
254
254
toolchain : stable
255
255
- uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
256
256
- name : Run tests
257
- run : cargo test --release -p conversions
257
+ run : cargo test --profile ci -p conversions
258
258
259
259
test-shared :
260
260
name : Test Shared
@@ -263,7 +263,7 @@ jobs:
263
263
- uses : actions/checkout@v5
264
264
- uses : dtolnay/rust-toolchain@stable
265
265
- uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
266
- - run : cargo test --release -p shared
266
+ - run : cargo test --profile ci -p shared
267
267
268
268
test-scarb-api :
269
269
name : Test Scarb Api
@@ -275,7 +275,7 @@ jobs:
275
275
- uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6
276
276
- uses : software-mansion/setup-scarb@v1
277
277
- uses : software-mansion/setup-universal-sierra-compiler@v1
278
- - run : cargo test --release -p scarb-api
278
+ - run : cargo test --profile ci -p scarb-api
279
279
280
280
scarbfmt :
281
281
runs-on : ubuntu-latest
0 commit comments