The current workflow executes the functional tests from the make check
called at the top-level source directory. Though this runs the tests
case, it also has an unintended side effect of re-running gunit tests
for every functional test combination in the workflow. Fix it, by
re-arranging the function test run commands, to change into
tests/ftests directory before executing make check.
Signed-off-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
(cherry picked from commit
348f50bed7bfab1a63a649b4a65120fb03a7d3c2)
uses: ./.github/actions/setup-libcgroup
- name: Run functional tests
run: |
- make check
pushd tests/ftests
./028-cgclear-basic_cgclear.py --no-container -l 10 -L ftests-28.log
+ make check
popd
- name: Display test logs
if: ${{ always() }}
uses: ./.github/actions/setup-libcgroup
- name: Run functional tests
run: |
- make check
pushd tests/ftests
./028-cgclear-basic_cgclear.py --no-container -l 10 -L ftests-28.log
+ make check
popd
- name: Display test logs
if: ${{ always() }}