File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3030 - name : Start containers
3131 run : |
3232 docker compose -f docker-compose.test.yml down -v --remove-orphans
33- docker compose -f docker-compose.test.yml up -d --wait --wait-timeout 30
33+ docker compose -f docker-compose.test.yml up -d --wait --wait-timeout 60
3434
3535 - name : Set up Python ${{ env.DEFAULT_PYTHON }}
3636 uses : actions/setup-python@v5
5959 mkdir -p reports/
6060 make test-ci
6161
62+ - name : Dump DB logs on failure
63+ if : failure()
64+ uses : jwalton/gh-docker-logs@v2
65+ with :
66+ images : postgres
67+ dest : ./logs
68+
6269 - name : Upload Coverage Results
6370 uses : actions/upload-artifact@v4
6471 with :
7279 run : |
7380 docker compose -f docker-compose.test.yml down -v --remove-orphans
7481
82+ - name : Upload DB logs
83+ uses : actions/upload-artifact@v4
84+ if : failure()
85+ with :
86+ name : db-logs
87+ path : logs/*
7588
7689 all_done :
7790 name : Tests done
You can’t perform that action at this time.
0 commit comments