Skip to content

Commit 82d3409

Browse files
committed
Add Valgrind to CI-job to search for possible memory-leaks
1 parent 6c9c376 commit 82d3409

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,9 @@ jobs:
1919

2020
- name: Build and run tests
2121
run: make test
22+
23+
- name: Run Valgrind to search for memory leaks
24+
run: |
25+
sudo apt-get update
26+
sudo apt-get install -y valgrind
27+
valgrind --leak-check=full --error-exitcode=1 ./build/bin/test_runner

0 commit comments

Comments
 (0)