testcontainers / testcontainers-scala

Docker containers for testing in scala
MIT License
627 stars 126 forks source link

add "Free space" step #274

Closed greshny closed 6 months ago

greshny commented 6 months ago

This will fix the "no space left" error on GitHub Actions runners encountered in #273 and #272:

System.IO.IOException: No space left on device: '/home/runner/runners/2.312.0/_diag/Worker_20240210-081954-utc.log'

The fix is inspired by the CI configuration in testcontainers-dotnet.

The CI configuration was tested in the forked repository, where CI runs took 2-3 minutes longer.

Result output is:

/dev/root:

********************************************************************************
=> Saved 32GiB
********************************************************************************

overall:

********************************************************************************
=> Saved 32GiB
********************************************************************************