Increase parallelism and tolerance for tests (CI particularly)
This commit is contained in:
@@ -148,7 +148,7 @@ jobs:
|
|||||||
# See https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories
|
# See https://docs.github.com/en/actions/reference/runners/github-hosted-runners#standard-github-hosted-runners-for-public-repositories
|
||||||
MIX_OS_DEPS_COMPILE_PARTITION_COUNT: 2
|
MIX_OS_DEPS_COMPILE_PARTITION_COUNT: 2
|
||||||
- name: 🧪 Run tests
|
- name: 🧪 Run tests
|
||||||
run: mix test
|
run: mix test --max-cases 8
|
||||||
env:
|
env:
|
||||||
CLOAK_ENCRYPTION_KEY: f5ol1dJROsm9yi/tvtHiblN8aLH1FUN/obEvUcASx3U=
|
CLOAK_ENCRYPTION_KEY: f5ol1dJROsm9yi/tvtHiblN8aLH1FUN/obEvUcASx3U=
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ config :music_library, MusicLibrary.Repo,
|
|||||||
# Double the amount of concurrent tests
|
# Double the amount of concurrent tests
|
||||||
pool_size: 32,
|
pool_size: 32,
|
||||||
pool: Ecto.Adapters.SQL.Sandbox,
|
pool: Ecto.Adapters.SQL.Sandbox,
|
||||||
busy_timeout: 10_000
|
busy_timeout: 20_000
|
||||||
|
|
||||||
config :music_library, MusicLibrary.BackgroundRepo,
|
config :music_library, MusicLibrary.BackgroundRepo,
|
||||||
database:
|
database:
|
||||||
|
|||||||
Reference in New Issue
Block a user