From: Kamalesh Babulal Date: Thu, 21 Oct 2021 21:18:28 +0000 (-0600) Subject: github: re-arrange workflow run commands X-Git-Tag: v3.0~262 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0426f7c520aea7ff098c063d2c93241b28db072f;p=thirdparty%2Flibcgroup.git 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 --- diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index b4769b7d..d43e0ebb 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -73,8 +73,8 @@ jobs: uses: ./.github/actions/setup-libcgroup - name: Run functional tests run: | - make check pushd tests/ftests + make check popd - name: Display test logs if: ${{ always() }} @@ -129,8 +129,8 @@ jobs: uses: ./.github/actions/setup-libcgroup - name: Run functional tests run: | - make check pushd tests/ftests + make check popd - name: Display test logs if: ${{ always() }} @@ -173,8 +173,8 @@ jobs: uses: ./.github/actions/setup-libcgroup - name: Run functional tests run: | - make check pushd tests/ftests + make check popd - name: Display test logs if: ${{ always() }}