From: Florian Forster Date: Fri, 24 Nov 2023 14:56:12 +0000 (+0100) Subject: Build workflow: report the status of `make check` after the test log has been uploaded. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faea305ef55bd0da31b383ed3aea3868b7ecc8a7;p=thirdparty%2Fcollectd.git Build workflow: report the status of `make check` after the test log has been uploaded. --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3c570e8e2..3aef3cdf3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,13 +52,17 @@ jobs: - name: Build collectd run: make -j$(nproc) -sk - name: Run make check - run: make -j$(nproc) -sk check + run: | + make $MAKEFLAGS check + echo "$?" >make-check.status continue-on-error: true - name: Dump test logs uses: actions/upload-artifact@v3 with: name: ${{ matrix.container_tag }} test log path: test-suite.log + - name: Report check status + run: exit $(< make-check.status) experimental: runs-on: ubuntu-20.04 @@ -96,10 +100,14 @@ jobs: - name: Build collectd run: make -j$(nproc) -sk - name: Run make check - run: make -j$(nproc) -sk check + run: | + make $MAKEFLAGS check + echo "$?" >make-check.status continue-on-error: true - name: Dump test logs uses: actions/upload-artifact@v3 with: name: ${{ matrix.container_tag }} test log path: test-suite.log + - name: Report check status + run: exit $(< make-check.status)