From 0c9e20887164ce233d1b50b0f7e46ec741ad9b23 Mon Sep 17 00:00:00 2001 From: Kamalesh Babulal Date: Thu, 21 Oct 2021 15:25:55 -0600 Subject: [PATCH] github: re-arrange workflow run commands 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 Signed-off-by: Tom Hromatka (cherry picked from commit 348f50bed7bfab1a63a649b4a65120fb03a7d3c2) --- .github/workflows/continuous-integration.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 2045b358..a3209e33 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -65,9 +65,9 @@ jobs: 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() }} @@ -114,9 +114,9 @@ jobs: 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() }} -- 2.47.2