.github: split distcheck into separate check + distcheck steps
- We want log files from check archived
- We want to verify that checks can run from tarball
@@ -59,10 +59,13 @@ jobs:
/tmp/sbin/finit -h
/tmp/sbin/initctl -h
- name: Run Unit Tests
+ run: |
+ make check || (cat test/test-suite.log; false)
+ - name: Check dist tarball
run: |
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 distcheck || (cat $dir/test/test-suite.log; false)
- name: Upload Test Results
uses: actions/upload-artifact@v3
with:
