diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f454b9b..8f64207b 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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