summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-03-16 13:41:37 (GMT)
committerThomas Haller <thaller@redhat.com>2022-03-16 13:49:58 (GMT)
commitaf59b9a77dd6b6b7cdacdbb700bcf757679969e9 (patch)
tree045a0d8fb638bba828ded16476b53ba6293840bb /.github/workflows
parentc8f7902c37e8d7632fd38191ad4ca2ab066da837 (diff)
downloadlibnl-af59b9a77dd6b6b7cdacdbb700bcf757679969e9.zip
libnl-af59b9a77dd6b6b7cdacdbb700bcf757679969e9.tar.gz
libnl-af59b9a77dd6b6b7cdacdbb700bcf757679969e9.tar.bz2
github: split tests in separate steps
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ce020bf..3e456dc 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,7 +14,7 @@ jobs:
sudo apt-get -y install check valgrind libtool-bin
- name: Check out repository code
uses: actions/checkout@v2
- - name: Build and Test
+ - name: Build
run: |
set -x
@@ -27,8 +27,14 @@ jobs:
./autogen.sh
./configure
make -j 5
- make -j 5 check
-
+ shell: bash
+ - name: Build Unit Tests
+ run: make -j 5 check-progs
+ - name: Run Unit Tests
+ run: make -j 5 check
+ - name: Run Unit Tests w/Valgrind
+ run: |
+ set -x
CK_FORK=no libtool --mode=execute valgrind --error-exitcode=66 --leak-check=full -s --show-leak-kinds=all ./tests/check-all
CK_FORK=no libtool --mode=execute valgrind --error-exitcode=66 --leak-check=full -s --show-leak-kinds=all ./tests/check-direct
shell: bash