Add support for running parallelized tests locally

This commit is contained in:
Claudio Ortolina
2026-03-02 11:09:50 +00:00
parent a95648c25d
commit e0530bb039
3 changed files with 16 additions and 11 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
#MISE description="Run project tests"
#USAGE arg "<partition_number>" help="The number of the partition"
set -e
source "$(git rev-parse --show-toplevel)/scripts/_helpers.sh"
ensure_working_directory!
# shellcheck disable=SC2154
MIX_TEST_PARTITION="${usage_partition_number}" mix test --partitions 2
-11
View File
@@ -1,11 +0,0 @@
#!/usr/bin/env bash
#MISE description="Run project tests"
set -e
source "$(git rev-parse --show-toplevel)/scripts/_helpers.sh"
ensure_working_directory!
mix test