flox / flox

Developer environments you can take with you
https://flox.dev
GNU General Public License v2.0
2.6k stars 62 forks source link

Parallelize bats tests #2070

Closed mkenigs closed 1 month ago

mkenigs commented 1 month ago

In the past we didn't use --jobs with bats because we had pkgdb concurrency issues. Now that we aren't using pkgdb, we should be able to run tests in parallel.

mkenigs commented 1 month ago

Our current wait_for_watchdogs waits for all watchdogs started with FLOX_DATA_DIR, so we may need to make that a bit more specific if tests are running in parallel

mkenigs commented 1 month ago

Seems this may have caused https://github.com/flox/flox/actions/runs/11002060724/job/30548213768#step:5:303

ysndr commented 1 month ago

the remote tests were actually not run in parallel.

The mentioned ci issues will be addressed by https://github.com/flox/flox/pull/2124

ysndr commented 1 month ago

2124 was merged