summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2021-05-24 19:10:48 (GMT)
committerfvogel <fvogelnew1@free.fr>2021-05-24 19:10:48 (GMT)
commit1c07c560b97d767fea6eb24d2af8e20df9673f02 (patch)
tree7c5bfaa355541ecff93b56ea0daf8b5796ee16a7 /.github
parentcb40a9955ce98bafc71ecd2eee6b22478b3c60d5 (diff)
downloadtk-1c07c560b97d767fea6eb24d2af8e20df9673f02.zip
tk-1c07c560b97d767fea6eb24d2af8e20df9673f02.tar.gz
tk-1c07c560b97d767fea6eb24d2af8e20df9673f02.tar.bz2
Add running of the test suite (deployment and development targets) for the xcode job
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/mac-build.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/mac-build.yml b/.github/workflows/mac-build.yml
index 6c8a546..2600858 100644
--- a/.github/workflows/mac-build.yml
+++ b/.github/workflows/mac-build.yml
@@ -37,6 +37,15 @@ jobs:
echo "::error::Failure during Build"
exit 1
}
+ - name: Run Tests
+ run: |
+ make test | tee out.txt
+ nmatches=$( grep -c "Failed 0" out.txt )
+ if [ $nmatches -lt 4 ]
+ then
+ echo "::error::Failure during Test"
+ exit 1
+ fi
clang:
runs-on: macos-11
strategy: