]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
github: Improve logging and reporting 18/head
authorTom Hromatka <tom.hromatka@oracle.com>
Thu, 17 Dec 2020 15:03:32 +0000 (08:03 -0700)
committerTom Hromatka <tom.hromatka@oracle.com>
Thu, 17 Dec 2020 15:43:54 +0000 (08:43 -0700)
Display the high-level log, test-suite.log, in
the github work for all jobs.  Also, archive the
functional test logs to facilitate debugging a
failed run.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
.github/workflows/continuous-integration.yml
googletest
tests

index 675e8cb566a225ba2b43a10c85125d7246418af1..634a9f553b32e5fca1fafc53472ae088eac4bfb2 100644 (file)
@@ -38,6 +38,8 @@ jobs:
         pushd tests/gunit
         make check
         popd
+    - name: Display test logs
+      run: cat tests/gunit/test-suite.log
     - name: Collate code coverage results
       run: lcov -d . -c > lcov.info
     - name: Upload code coverage results
@@ -62,6 +64,14 @@ jobs:
       uses: ./.github/actions/setup-libcgroup
     - name: Run functional tests
       run: make check
+    - name: Display test logs
+      run: cat tests/ftests/test-suite.log
+    - name: Archive test logs
+      if: ${{ always() }}
+      uses: actions/upload-artifact@v2
+      with:
+        name: Cgroup v1 test logs
+        path: tests/ftests/*.log
     - name: Collate code coverage results
       run: lcov -d . -c > lcov.info
     - name: Upload code coverage results
@@ -96,6 +106,14 @@ jobs:
       uses: ./.github/actions/setup-libcgroup
     - name: Run functional tests
       run: make check
+    - name: Display test logs
+      run: cat tests/ftests/test-suite.log
+    - name: Archive test logs
+      if: ${{ always() }}
+      uses: actions/upload-artifact@v2
+      with:
+        name: Cgroup v2 test logs
+        path: tests/ftests/*.log
     - name: Collate code coverage results
       run: lcov -d . -c > lcov.info
     - name: Upload code coverage results
index 8ffb7e5c88b20a297a2e786c480556467496463b..ec44c6c1675c25b9827aacd08c02433cccde7780 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 8ffb7e5c88b20a297a2e786c480556467496463b
+Subproject commit ec44c6c1675c25b9827aacd08c02433cccde7780
diff --git a/tests b/tests
index d54844c34b2261f34b43fe522872d4983c4c8a9a..918443bd89efb807d92c1754b0b3fbff4bd3304f 160000 (submodule)
--- a/tests
+++ b/tests
@@ -1 +1 @@
-Subproject commit d54844c34b2261f34b43fe522872d4983c4c8a9a
+Subproject commit 918443bd89efb807d92c1754b0b3fbff4bd3304f