Setting up a Postgres database in a test environment usually avoids preloading data, but sometimes budget constraints require a workaround. To avoid using GitLFS for a large seed data file, compress it with `tar` and `gzip` before committing it to the repository. During the GitHub Actions workflow, decompress the file before running tests. If you encounter a 'no space left on device' error, increase the shared memory size (`shm-size`) to resolve the issue.

3m read timeFrom simplethread.com
Post cover image
Table of contents
Avoiding GitLFSUsing the compressed SQL in your GitHub Actions workflow[record scratch] “No space left on device”

Sort: