Skip to content

Commit dacd560

Browse files
committed
Run tests on CI
1 parent aa758e8 commit dacd560

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,5 @@ 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+
run: cd opt/cachelib && ../../run_tests.sh

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,5 @@ 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+
run: cd opt/cachelib && ../../run_tests.sh

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ jobs:
3333
uses: actions/checkout@v2
3434
- name: "build CacheLib using build script"
3535
run: ./contrib/build.sh -j -v -T
36+

run_tests.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
BLACKLIST="allocator-test-NvmCacheTests
2+
common-test-TimeTests
3+
shm-test-test_page_size"
4+
5+
find -type f \( -not -name "*bench*" \) -executable | grep -vF "$BLACKLIST" | xargs -n1 bash -c

0 commit comments

Comments
 (0)