Skip to content

Merge pull request #145 from nlmixr2/check-loaded-rxode2-info-to-expi… #249

Merge pull request #145 from nlmixr2/check-loaded-rxode2-info-to-expi…

Merge pull request #145 from nlmixr2/check-loaded-rxode2-info-to-expi… #249

# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
name: test-coverage
jobs:
test-coverage:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
_R_CHECK_FORCE_SUGGESTS_: false
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
extra-packages: |
any::covr
nlmixr2/n1qn1c
nlmixr2/lbfgsb3c
nlmixr2/PreciseSums
nlmixr2/dparser-R
nlmixr2/lotri
nlmixr2/rxode2ll
nlmixr2/rxode2
nlmixr2/nlmixr2est
nlmixr2/nlmixr2extra
nlmixr2/nlmixr2plot
nlmixr2/nlmixr2
nlmixr2/nonmem2rx
nlmixr2/monolix2rx
lixoftConnectors=?ignore
needs: coverage
- uses: r-lib/actions/setup-tinytex@v2
- name: Test coverage
run: |
covr::codecov(
quiet = FALSE,
clean = FALSE,
install_path = file.path(Sys.getenv("RUNNER_TEMP"), "package")
)
shell: Rscript {0}
- name: Show testthat output
if: always()
run: |
## --------------------------------------------------------------------
find ${{ runner.temp }}/package -name 'testthat.Rout*' -exec cat '{}' \; || true
shell: bash
- name: Upload test results
if: failure()
uses: actions/upload-artifact@v3
with:
name: coverage-test-failures
path: ${{ runner.temp }}/package