Skip to content

Commit b60d595

Browse files
more close to r cmd check template
1 parent c7c7dfd commit b60d595

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

.github/workflows/benchmarking.yaml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,19 @@ on:
77
branches:
88
- master
99
env:
10-
RSPM: "https://packagemanager.rstudio.com/cran/__linux__/bionic/291"
10+
RSPM:
1111
jobs:
1212
build:
13-
runs-on: ubuntu-18.04
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
config:
17+
- {os: ubuntu-18.04, r: '4.0.0', rspm: "https://packagemanager.rstudio.com/cran/__linux__/bionic/291"}
18+
19+
env:
20+
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
21+
RSPM: ${{ matrix.config.rspm }}
22+
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1423
steps:
1524
- name: Checkout repo
1625
with:
@@ -25,9 +34,6 @@ jobs:
2534
run: git branch $GITHUB_BASE_REF remotes/origin/$GITHUB_BASE_REF; git branch
2635
- name: Setup R
2736
uses: r-lib/actions/setup-r@master
28-
with:
29-
r-version: '4.0.0'
30-
http-user-agent: "R/4.0.0 (ubuntu-18.04) R (4.0.0 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions"
3137
- name: Query dependencies
3238
run: |
3339
install.packages('remotes')

0 commit comments

Comments
 (0)