* [ci][gha] Add a test log when the tests fail
* [ci][cirrus] Update CI to provide test logs on failure
Co-authored-by: Matthias Runge <mrunge@redhat.com>
- make -j2 -sk
tests_script:
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j2 -sk check
+ on_failure:
+ debug_script: cat test-suite.log || true
+
# build against libstatgrab, should always pass
- env:
- make -j2 -sk
tests_script:
- VALGRIND_OPTS="--errors-for-leak-kinds=definite" make -j2 -sk check
+ on_failure:
+ debug_script: cat test-suite.log || true
###
# Build using a range of compilers, available in debian/unstable. NB: might
- name: make check
continue-on-error: true
run: make check
+ - name: Dump test logs
+ run: |
+ cat ./test-suite.log || true
- name: install bzip2
continue-on-error: true
run: |
# Make check is failing on a few newer distros, temporarily mark it as optional until that is resolved
continue-on-error: true
run: make check
+ - name: Dump test logs
+ run: |
+ cat ./test-suite.log || true
- name: install bzip2
continue-on-error: true
run: |