]> git.ipfire.org Git - thirdparty/libcgroup.git/commitdiff
github: Run the cgclear functional test last 34/head
authorTom Hromatka <tom.hromatka@oracle.com>
Tue, 23 Mar 2021 16:18:04 +0000 (16:18 +0000)
committerTom Hromatka <tom.hromatka@oracle.com>
Mon, 29 Mar 2021 18:39:13 +0000 (18:39 +0000)
Run the cgclear functional test last since it is destructive to the
cgroup hierarchy.  Note that this test is automatically skipped by
'make check'.

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

index e70b170d252c1e337e07aad9d268ee8e3c116831..2045b358bfb03e14341ee85841f1dbeeca491bbc 100644 (file)
@@ -64,7 +64,11 @@ jobs:
     - name: Initialize the directory
       uses: ./.github/actions/setup-libcgroup
     - name: Run functional tests
-      run: make check
+      run: |
+        make check
+        pushd tests/ftests
+        ./028-cgclear-basic_cgclear.py --no-container -l 10 -L ftests-28.log
+        popd
     - name: Display test logs
       if: ${{ always() }}
       run: |
@@ -109,7 +113,11 @@ jobs:
     - name: Initialize the directory
       uses: ./.github/actions/setup-libcgroup
     - name: Run functional tests
-      run: make check
+      run: |
+        make check
+        pushd tests/ftests
+        ./028-cgclear-basic_cgclear.py --no-container -l 10 -L ftests-28.log
+        popd
     - name: Display test logs
       if: ${{ always() }}
       run: |