summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2022-05-08 23:29:06 +0200
committerThomas Haller <thaller@redhat.com>2022-05-09 09:02:28 +0200
commit4713b7651815c011cdd5598745faf2cba34ba588 (patch)
tree16e4aede90ef41d8d8f5a84ee0499ad71feec39f /.github/workflows/ci.yml
parent8025547eae5143435fb09b627aa25da2f7e1466a (diff)
downloadlibnl-4713b7651815c011cdd5598745faf2cba34ba588.tar.gz
github: run unit tests several times and directly
`make check` swallows the output, which is kinda important to debug a problem. I guess, I could print the log file, but it seems simpler to just run the test directly. While at it, run it a few times. It's fast enough, and with the randomization, it might actually hit a faulty code path.
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 265b1d89..3b2d7068 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -44,8 +44,13 @@ jobs:
- name: Run Unit Tests
run: |
+ set -x
export NLTST_SEED_RAND=
- make -j 5 check
+ for i in `seq 1 5`; do
+ tests/check-all
+ tests/check-direct
+ make -j check
+ done
- name: Run Unit Tests w/Valgrind
run: |