CI: Store postgres logs as artifacts (#6236)

If a test fails sometimes the diff of the output isn't very helpful. In
those cases looking at the postgres logs can help a lot. We were only
storing these logs as artifacts for arbitrary config tests and tap
tests, now we also store them for our regular test runs.
pull/6235/head
Jelte Fennema 2022-08-24 12:24:47 +02:00 committed by GitHub
parent 041f88d7bf
commit e230c849fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -410,6 +410,15 @@ jobs:
- store_artifacts:
name: 'Save core dumps'
path: /tmp/core_dumps
- store_artifacts:
name: 'Save coordinator log'
path: src/test/regress/tmp_check/master/log
- store_artifacts:
name: 'Save worker1 log'
path: src/test/regress/tmp_check/worker.57637/log
- store_artifacts:
name: 'Save worker2 log'
path: src/test/regress/tmp_check/worker.57638/log
- codecov/upload:
flags: 'test_<< parameters.pg_major >>,<< parameters.make >>'
when: always