refactor: move slow performance tests to extra test suite
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
fce01ddf83
commit
67e06e12ce
10 changed files with 433 additions and 5 deletions
14
Justfile
14
Justfile
|
|
@ -22,7 +22,7 @@ seed-database:
|
|||
start-database:
|
||||
docker compose up -d
|
||||
|
||||
ci-dev: lint audit test
|
||||
ci-dev: lint audit test-fast
|
||||
|
||||
gettext:
|
||||
mix gettext.extract
|
||||
|
|
@ -44,6 +44,18 @@ audit:
|
|||
test *args: install-dependencies
|
||||
mix test {{args}}
|
||||
|
||||
# Run only fast tests (excludes slow/performance tests)
|
||||
test-fast *args: install-dependencies
|
||||
mix test --exclude slow {{args}}
|
||||
|
||||
# Run only slow/performance tests
|
||||
test-slow *args: install-dependencies
|
||||
mix test --only slow {{args}}
|
||||
|
||||
# Run all tests (fast + slow)
|
||||
test-all *args: install-dependencies
|
||||
mix test {{args}}
|
||||
|
||||
format:
|
||||
mix format
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue