Skip to content

Commit 35e1e62

Browse files
committed
Run tests on CI
1 parent aa758e8 commit 35e1e62

File tree

3 files changed

+16
-0
lines changed

3 files changed

+16
-0
lines changed

.github/workflows/build-cachelib-centos.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ jobs:
3434
uses: actions/checkout@v2
3535
- name: "build CacheLib using build script"
3636
run: ./contrib/build.sh -j -v -T
37+
- name: "run tests"
38+
timeout-minutes: 60
39+
run: cd opt/cachelib/tests && ../../../run_tests.sh

.github/workflows/build-cachelib-debian.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ jobs:
3838
uses: actions/checkout@v2
3939
- name: "build CacheLib using build script"
4040
run: ./contrib/build.sh -j -v -T
41+
- name: "run tests"
42+
timeout-minutes: 60
43+
run: cd opt/cachelib/tests && ../../../run_tests.sh

run_tests.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
# Newline separated list of tests to ignore
4+
BLACKLIST="allocator-test-AllocationClassTest
5+
allocator-test-NvmCacheTests
6+
common-test-TimeTests
7+
common-test-UtilTests
8+
shm-test-test_page_size"
9+
10+
find -type f \( -not -name "*bench*" -and -not -name "navy*" \) -executable | grep -vF "$BLACKLIST" | xargs -n1 bash -c

0 commit comments

Comments
 (0)