From 3da310424bf1c9f5850fdd299813cf6e0d54dead Mon Sep 17 00:00:00 2001 From: alamshafil Date: Fri, 1 Jul 2022 16:38:01 -0400 Subject: [PATCH] ci: Add run test to workflow --- .github/workflows/c-cpp.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 8ca7ed259..a4140832e 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -148,6 +148,12 @@ jobs: ./autogen.sh ./configure --prefix=`pwd`/depends/${{ matrix.host }} ${{ matrix.config-opts }} || ( cat config.log && false) make $MAKEJOBS ${{ matrix.goal }} || ( echo "Build failure. Verbose build follows." && make ${{ matrix.goal }} V=1 ; false ) + + - name: Run tests + if: ${{ matrix.run-tests }} + run: | + make check $MAKEJOBS VERBOSE=1 + test/functional/test_runner.py - name: Strip built binaries run: |