File tree Expand file tree Collapse file tree 4 files changed +10
-14
lines changed
Expand file tree Collapse file tree 4 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 66 branches :
77 - main
88 - master
9+ - ' **valgrind**'
910 paths :
1011 - ' .github/workflows/memcheck.yml'
1112 - ' src/**'
@@ -30,7 +31,8 @@ name: mem-check
3031jobs :
3132 mem-check :
3233 runs-on : ubuntu-24.04
33- name : valgrind ${{ matrix.config.test }}, ubuntu, R release
34+
35+ name : valgrind ${{ matrix.config.test }}
3436
3537 strategy :
3638 fail-fast : false
@@ -39,12 +41,13 @@ jobs:
3941 - {test: 'tests'}
4042 - {test: 'examples'}
4143 - {test: 'vignettes'}
42-
44+
4345 env :
4446 R_REMOTES_NO_ERRORS_FROM_WARNINGS : true
4547 _R_CHECK_FORCE_SUGGESTS_ : false
4648 RSPM : https://packagemanager.rstudio.com/cran/__linux__/noble/latest
4749 GITHUB_PAT : ${{ secrets.GITHUB_TOKEN }}
50+ ASAN_OPTIONS : verify_asan_link_order=0
4851
4952 steps :
5053 - uses : ms609/actions/memcheck@main
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- # Code to be run with
2- # R -d "valgrind --tool=memcheck --leak-check=full" --vanilla < tests/thisfile.R
3- # First build and install the package.
1+ # Code to be run with
2+ # R -d "valgrind --tool=memcheck --leak-check=full --error-exitcode=1" --vanilla < memcheck/thisfile.R
43library(" TreeDist" )
54devtools :: test()
Original file line number Diff line number Diff line change 1- # Code to be run with
2- # R -d "valgrind --tool=memcheck --leak-check=full" --vanilla < tests/thisfile.R
3- # First build and install the package.
4- library(" TreeDist" )
5- devtools :: build_vignettes()
1+ # Code to be run with
2+ # R -d "valgrind --tool=memcheck --leak-check=full --error-exitcode=1" --vanilla < memcheck/thisfile.R
3+ devtools :: build_vignettes(install = FALSE )
You can’t perform that action at this time.
0 commit comments