mirror of
https://github.com/troglobit/finit.git
synced 2026-11-28 20:58:24 +00:00
.github: always upload test results, regardless
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
3 files changed
+20
-1
No files matched your search
@@ -80,7 +80,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
make check || (cat test/test-suite.log; false)
|
make check || (cat test/test-suite.log; false)
|
||||||
- name: Upload Test Results
|
- name: Upload Test Results
|
||||||
|
if: always()
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: finit-test-${{ matrix.compiler }}
|
name: finit-test-${{ matrix.compiler }}
|
||||||
path: test/*.log
|
path: |
|
||||||
|
test/*.log
|
||||||
|
test/sysroot/setup-sysroot.log
|
||||||
@@ -59,6 +59,14 @@ jobs:
|
|||||||
ls -lF ../
|
ls -lF ../
|
||||||
mkdir -p artifacts/
|
mkdir -p artifacts/
|
||||||
mv ../*.tar.* artifacts/
|
mv ../*.tar.* artifacts/
|
||||||
|
- name: Upload Test Results
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: finit-release-test-logs
|
||||||
|
path: |
|
||||||
|
finit-*/_build/sub/test/*.log
|
||||||
|
finit-*/_build/sub/test/sysroot/setup-sysroot.log
|
||||||
- name: Extract ChangeLog entry ...
|
- name: Extract ChangeLog entry ...
|
||||||
run: |
|
run: |
|
||||||
awk '/-----*/{if (x == 1) exit; x=1;next}x' doc/ChangeLog.md \
|
awk '/-----*/{if (x == 1) exit; x=1;next}x' doc/ChangeLog.md \
|
||||||
|
|||||||
@@ -59,3 +59,11 @@ jobs:
|
|||||||
ver=$(/tmp/sbin/initctl -V | awk '/Finit.*/ {print $2;}')
|
ver=$(/tmp/sbin/initctl -V | awk '/Finit.*/ {print $2;}')
|
||||||
dir=finit-$ver/_build/sub
|
dir=finit-$ver/_build/sub
|
||||||
make -j1 distcheck || (cat $dir/test/test-suite.log; false)
|
make -j1 distcheck || (cat $dir/test/test-suite.log; false)
|
||||||
|
- name: Upload Test Results
|
||||||
|
if: always()
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: finit-weekly-test-logs
|
||||||
|
path: |
|
||||||
|
finit-*/_build/sub/test/*.log
|
||||||
|
finit-*/_build/sub/test/sysroot/setup-sysroot.log
|
||||||
Reference in new issue
Block a user