TEMPORARY: run the PostgreSQL suite three times on one server, push only (refs #98)
Two clean runs did not show the restart. This collects the server log of a failure sooner and lists Docker's events for the service container (oom, kill, die). Reverted before the merge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0a9a8a38ec
commit
72f4cbe0a5
2 files changed
+26
-2
No files matched your search
@@ -9,13 +9,14 @@ on:
|
||||
|
||||
jobs:
|
||||
test:
|
||||
if: github.event_name == 'push' # TEMPORARY (issue #98): stress run, three suites on one server
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: mcr.microsoft.com/dotnet/sdk:10.0
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
db: [sqlite, postgres]
|
||||
db: [postgres] # TEMPORARY (issue #98)
|
||||
services:
|
||||
postgres:
|
||||
image: postgres:18
|
||||
@@ -44,13 +45,18 @@ jobs:
|
||||
git -c http.extraHeader="Authorization: token ${{ github.token }}" fetch -q --depth 1 origin "${{ github.sha }}"
|
||||
git checkout -q FETCH_HEAD
|
||||
- name: Check
|
||||
run: sh ./tasks.sh check
|
||||
# TEMPORARY (issue #98): the PostgreSQL suite three times on the same server.
|
||||
run: |
|
||||
status=0
|
||||
for i in 1 2 3; do echo "== round $i"; sh ./tasks.sh test -c Release || status=1; done
|
||||
exit $status
|
||||
# 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'
|
||||
run: sh ./tasks.sh ci-service-log postgres
|
||||
|
||||
image:
|
||||
if: false # TEMPORARY (issue #98)
|
||||
needs: test
|
||||
runs-on: ubuntu-latest
|
||||
# Registry settings for phase 9 (issue #70): declared here, not used before then.
|
||||
|
||||
Reference in new issue
Block a user