ci: compress ct logs before uploading
This commit is contained in:
parent
d7725c72cf
commit
64f866387c
|
@ -108,11 +108,14 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: coverdata
|
name: coverdata
|
||||||
path: _build/test/cover
|
path: _build/test/cover
|
||||||
|
- name: compress logs
|
||||||
|
if: failure()
|
||||||
|
run: tar -czf logs.tar.gz _build/test/logs
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: logs-${{ matrix.profile }}-${{ matrix.prefix }}-${{ matrix.otp }}-sg${{ matrix.suitegroup }}
|
name: logs-${{ matrix.profile }}-${{ matrix.prefix }}-${{ matrix.otp }}-sg${{ matrix.suitegroup }}
|
||||||
path: _build/test/logs
|
path: logs.tar.gz
|
||||||
|
|
||||||
ct:
|
ct:
|
||||||
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
runs-on: ${{ fromJSON(inputs.runner_labels) }}
|
||||||
|
@ -149,11 +152,14 @@ jobs:
|
||||||
name: coverdata
|
name: coverdata
|
||||||
path: _build/test/cover
|
path: _build/test/cover
|
||||||
if-no-files-found: warn # do not fail if no coverdata found
|
if-no-files-found: warn # do not fail if no coverdata found
|
||||||
|
- name: compress logs
|
||||||
|
if: failure()
|
||||||
|
run: tar -czf logs.tar.gz _build/test/logs
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v3
|
||||||
if: failure()
|
if: failure()
|
||||||
with:
|
with:
|
||||||
name: logs-${{ matrix.profile }}-${{ matrix.prefix }}-${{ matrix.otp }}-sg${{ matrix.suitegroup }}
|
name: logs-${{ matrix.profile }}-${{ matrix.prefix }}-${{ matrix.otp }}-sg${{ matrix.suitegroup }}
|
||||||
path: _build/test/logs
|
path: logs.tar.gz
|
||||||
|
|
||||||
tests_passed:
|
tests_passed:
|
||||||
needs:
|
needs:
|
||||||
|
|
Loading…
Reference in New Issue