Avoid compiling and running tests twice

test-unit was building a second copy of the code with different features, and then the main test command ran the same tests anyway, so we just built and ran the tests twice

Locally shaves a minute off of a full build+test, on this branch (so both runs include the fsync change etc)

We're at [ 173.444s] overall for `just test` now
This commit is contained in:
Johanna Larsson
2026-09-23 17:24:44 +00:00
committed by Tangled
parent 43dfd2f2f3
commit e87952616d
-3
View File
@@ -128,19 +128,16 @@ test-misc:
{{store_test}} --test actor --test commit_signing --test image_processing --test lifecycle_social --test notifications --test server --test signing_key --test verify_live_commit
test *args:
@just test-unit
{{store_test}} {{args}}
test-one name:
{{store_test}} --test {{name}}
test-full *args:
@just test-unit
@just services-up
eval "$(tranquil-dev-services env)" && SQLX_OFFLINE=true cargo nextest run --workspace --exclude tranquil-store --features tranquil-pds/s3 {{args}}
test-pg *args:
@just test-unit
./scripts/run-tests.sh {{args}}
services-up: