diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 8c4ab0a..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,41 +0,0 @@ -# This workflow uses actions that are not certified by GitHub. -# They are provided by a third-party and are governed by -# separate terms of service, privacy policy, and support -# documentation. -# -# See https://github.com/r-lib/actions/tree/master/examples#readme for -# additional example workflows available for the R community. - -name: R CI - -on: [push, pull_request] - -env: - cntr: uscbiostats/fmcmc:latest - -jobs: - build: - runs-on: Ubuntu-latest - strategy: - matrix: - include: - - name: release - cmd: R - - name: dev - cmd: RD - - steps: - - uses: actions/checkout@v2 - - - name: Container - run: docker pull uscbiostats/fmcmc:latest - - - name: SessionInfo - run: docker run --rm -i -v ${PWD}:/mnt -w /mnt uscbiostats/fmcmc:latest ${{ matrix.cmd }} -q -e 'sessionInfo()' - - - name: Build - run: docker run --rm -i -v ${PWD}:/mnt -w /mnt uscbiostats/fmcmc:latest ${{ matrix.cmd }} CMD build --no-build-vignettes --no-manual . - - - name: Check - run: docker run --rm -i -v ${PWD}:/mnt -w /mnt -e CI=true uscbiostats/fmcmc:latest ${{ matrix.cmd }} CMD check --no-vignettes --no-manual fmcmc_*.tar.gz - diff --git a/.github/workflows/r.yml b/.github/workflows/r.yml index 40a685d..840da9e 100644 --- a/.github/workflows/r.yml +++ b/.github/workflows/r.yml @@ -24,8 +24,8 @@ jobs: config: - {os: windows-latest, r: 'release'} - {os: macOS-latest, r: 'release'} - - {os: ubuntu-20.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} - - {os: ubuntu-20.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} + - {os: ubuntu-latest, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} + - {os: ubuntu-latest, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/focal/latest"} env: R_REMOTES_NO_ERRORS_FROM_WARNINGS: true