-
Notifications
You must be signed in to change notification settings - Fork 77
58 lines (43 loc) · 1.47 KB
/
check-standard.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Run CI for R using https://eddelbuettel.github.io/r-ci/
name: ci
on:
push:
pull_request:
jobs:
ci:
strategy:
matrix:
include:
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release', depends_only: TRUE}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}
# - {os: macOS-latest, r: 'release'}
# - {os: windows-latest, r: 'release'}
runs-on: ${{ matrix.os }}
env:
_R_CHECK_FORCE_SUGGESTS_: "false"
_R_CHECK_TESTS_NLINES_: 0
R_NOT_CRAN: true
R_GH: true
GITHUB_PAT: ${{ secrets.GITHUB_PAT}}
steps:
- uses: actions/checkout@v3
- name: Get Script
run: curl -OLs https://eddelbuettel.github.io/r-ci/run.sh && chmod 0755 run.sh
- name: Bootstrap
run: ./run.sh bootstrap
- name: png (for svglite)
run: sudo apt update -qq && sudo apt install --yes --no-install-recommends libpng-dev
- name: svglite from source
run: Rscript -e "bspm::disable();install.packages('svglite', from = 'source');bspm::enable()"
- name: remotes
run: ./run.sh install_r remotes
- name: Dependencies
run: ./run.sh install_all
- name: phantomjs
run: Rscript -e "webshot::install_phantomjs()"
- name: Test
run: ./run.sh run_tests
- name: Coverage
if: ${{ matrix.os == 'ubuntu-latest' }}
run: ./run.sh coverage