Skip to content

Commit c8efde3

Browse files
committed
updated GHA
1 parent 6215c8f commit c8efde3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
on:
22
push:
3+
branches:
4+
- master
35
pull_request:
4-
types: [opened, synchronize, reopened]
6+
branches:
7+
- master
58

69
name: R-CMD-check
710

@@ -18,7 +21,7 @@ jobs:
1821
- {os: macOS-latest, r: 'release'}
1922
- {os: windows-latest, r: 'release'}
2023
- {os: windows-latest, r: '3.6'}
21-
- {os: ubuntu-16.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
24+
- {os: ubuntu-16.04, r: 'devel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest", http-user-agent: "R/4.0.0 (ubuntu-16.04) R (4.0.0 x86_64-pc-linux-gnu x86_64 linux-gnu) on GitHub Actions" }
2225
- {os: ubuntu-16.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
2326
- {os: ubuntu-16.04, r: 'oldrel', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
2427
- {os: ubuntu-16.04, r: '3.5', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
@@ -34,6 +37,7 @@ jobs:
3437
- uses: r-lib/actions/setup-r@master
3538
with:
3639
r-version: ${{ matrix.config.r }}
40+
http-user-agent: ${{ matrix.config.http-user-agent }}
3741

3842
- uses: r-lib/actions/setup-pandoc@master
3943

@@ -79,7 +83,7 @@ jobs:
7983
run: |
8084
reticulate::conda_create('r-reticulate', packages = c('python==3.6.9'))
8185
tensorflow::install_tensorflow(version='1.14.0')
82-
shell: Rscript {0}
86+
shell: Rscript {0}
8387

8488
- name: Session info
8589
run: |

0 commit comments

Comments
 (0)