Merge main into fase-9: SQLite test databases in memory on the CI
ci / test (postgres) (push) Failing after 6m53s
ci / test (sqlite) (push) Failing after 5m26s
ci / image (push) Skipped
ci / test (postgres) (pull_request) Failing after 7m47s
ci / test (sqlite) (pull_request) Canceled after 1m49s
ci / image (pull_request) Canceled after 0s
ci / test (postgres) (push) Failing after 6m53s
ci / test (sqlite) (push) Failing after 5m26s
ci / image (push) Skipped
ci / test (postgres) (pull_request) Failing after 7m47s
ci / test (sqlite) (pull_request) Canceled after 1m49s
ci / image (pull_request) Canceled after 0s
The CI of Phase 9 failed on seven tests that start the server on a SQLite file: on the runner's disk the migrations alone took 24 seconds, past the 30-second start limit. PR #110 (ADR 0019), now in main, keeps the test databases in a tmpfs folder on the CI. STATE.md no longer lists #110 as waiting for the user. refs #75 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
4aea2d0be7
4 files changed
+43
-4
No files matched your search
@@ -13,6 +13,8 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||
# The databases of the tests live in memory: the disk of the runner stops for seconds under load (ADR 0019).
|
||||
options: --tmpfs /test-tmp:size=4g
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -56,7 +58,9 @@ jobs:
|
||||
git fetch -q --depth 1 origin "${{ github.sha }}"
|
||||
git checkout -q FETCH_HEAD
|
||||
- name: Check
|
||||
run: sh ./tasks.sh check
|
||||
run: |
|
||||
df -h /test-tmp
|
||||
TMPDIR=/test-tmp sh ./tasks.sh check
|
||||
# The log of the PostgreSQL service, read through the Docker socket the runner mounts in the job (issue #98).
|
||||
- name: PostgreSQL log
|
||||
if: always() && matrix.db == 'postgres'
|
||||
|
||||
Reference in new issue
Block a user