@@ -461,14 +461,16 @@ jobs:
461461
462462 - name : Run tests
463463 run : |
464+ # we are in /home/runner/work/Ark/Ark/build/
464465 export ASAN_OPTIONS=detect_odr_violation=0
466+ export LSAN_OPTIONS=suppressions=../lsan-suppressions.txt
465467 ./build/unittests
466468
467469 - name : Gather coverage
468470 run : cmake --build build --target coverage
469471
470472 - name : Coveralls
471- uses : coverallsapp/github-action@master
473+ uses : coverallsapp/github-action@main
472474 with :
473475 path-to-lcov : build/coverage.info
474476 github-token : ${{ secrets.GITHUB_TOKEN }}
@@ -503,6 +505,7 @@ jobs:
503505 shell : bash
504506 run : |
505507 export ASAN_OPTIONS=detect_odr_violation=0
508+ export LSAN_OPTIONS=suppressions=lsan-suppressions.txt
506509 ./unittests
507510
508511 - uses : actions/setup-python@v6
@@ -515,6 +518,7 @@ jobs:
515518 shell : bash
516519 run : |
517520 export ASAN_OPTIONS=detect_odr_violation=0
521+ export LSAN_OPTIONS=suppressions=lsan-suppressions.txt
518522 chmod u+x ./lib/modules/.github/run-tests
519523 (./lib/modules/.github/run-tests src)
520524
@@ -695,4 +699,6 @@ jobs:
695699 --verbose -s \
696700 --demangle=yes \
697701 --error-exitcode=1 \
702+ --suppressions=valgrind-suppressions.txt \
703+ --gen-suppressions=all \
698704 build/arkscript -L ./lib tests/unittests/resources/LangSuite/unittests.ark valgrind
0 commit comments