Skip to content

Standardised .Rbuildignore #27

Standardised .Rbuildignore

Standardised .Rbuildignore #27

Workflow file for this run

# Run CI for R using https://eddelbuettel.github.io/r-ci/
name: ci
on:
push:
pull_request:
env:
USE_BSPM: "true"
_R_CHECK_FORCE_SUGGESTS_: "false"
SPATSTAT_TEST: "true"
COVERAGE_TYPE: "all"
jobs:
ci:
strategy:
fail-fast: false
matrix:
include:
- {os: macOS-latest}
- {os: ubuntu-latest}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Bootstrap
run: |
curl -OLs https://eddelbuettel.github.io/r-ci/run.sh
chmod 0755 run.sh
./run.sh bootstrap
- name: Dependencies
run: ./run.sh install_all
- name: Dev. ver. of Matrix pkg
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo Rscript -e "install.packages('Matrix', repos = 'https://r-forge.r-universe.dev')"
- name: Test
run: ./run.sh run_tests
- name: Coverage
if: ${{ matrix.os == 'ubuntu-latest' }}
run: ./run.sh coverage
- name: Dump logs
if: failure()
run: ./run.sh dump_logs