.github: check if ~/.cache exists, dump test root files

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2022-04-04 20:19:13 +02:00
1 parent aeb48ef04b
commit 702b22d4a3
3 files changed
+14 -1

No files matched your search

+4 -1
View File
@@ -60,9 +60,12 @@ jobs:
/tmp/sbin/initctl -h
- name: Run Unit Tests
run: |
echo "~/.cache contents =============="
ls -l ~/.cache
echo "================================"
ver=$(/tmp/sbin/initctl -V | awk '/Finit.*/ {print $2;}')
dir=finit-$ver/_build/sub
make -j1 distcheck || (cat $dir/test/test-suite.log; false)
make -j1 distcheck || (cat $dir/test/setup-root.log; cat $dir/test/test-suite.log; false)
- name: Upload Test Results
uses: actions/upload-artifact@v2
with: