Skip to content

Commit

Permalink
Adding valgrind to check for memory leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Nov 19, 2024
1 parent d1ea55a commit 4be0e58
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,25 @@ jobs:
apt-get update && apt-get install -y --no-install-recommends pandoc
cp -r include/epiworld/ r-pkg/inst/include/epiworld/
R CMD build r-pkg
R CMD check epiworldR_*.tar.gz
R CMD check --no-manual epiworldR_*.tar.gz
test-epiworld-r-valgrind:
runs-on: ubuntu-latest
container: rocker/r2u:latest

steps:
- uses: actions/checkout@v4

- uses: actions/checkout@v4
with:
repository: UofUEpiBio/epiworldR
path: ./r-pkg

- name: Getting epiworldR
run: |
install2.r knitr rmarkdown tinytest netplot igraph data.table
apt-get update && apt-get install -y --no-install-recommends \
pandoc valgrind
cp -r include/epiworld/ r-pkg/inst/include/epiworld/
R CMD build r-pkg
R CMD check --no-manual epiworldR_*.tar.gz

0 comments on commit 4be0e58

Please sign in to comment.