Skip to content

Commit

Permalink
fix: fix Github Action script
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgohel committed Sep 2, 2021
1 parent b3f0eb4 commit 4e151d4
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,13 @@ jobs:
matrix:
config:
- {os: windows-latest, r: 'release'}
- {os: macOS-latest, r: 'release'}
- {os: macOS-latest, r: 'devel'}
- {os: ubuntu-16.04, r: 'release', rspm: "https://packagemanager.rstudio.com/cran/__linux__/xenial/latest"}
- {os: ubuntu-16.04, r: 'release'}

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
RSPM: ${{ matrix.config.rspm }}
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@v2
Expand All @@ -35,17 +36,6 @@ jobs:

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

- name: Install XQuartz
if: matrix.config.os == 'macOS-latest'
env:
XQUARTZ_VERSION: 2.7.11
run: |
curl -fLo /tmp/XQuartz.dmg "https://dl.bintray.com/xquartz/downloads/XQuartz-${XQUARTZ_VERSION}.dmg"
sudo hdiutil attach -noverify /tmp/XQuartz.dmg
sudo installer -pkg "/Volumes/XQuartz-${XQUARTZ_VERSION}/XQuartz.pkg" -target /
sudo hdiutil detach /Volumes/XQuartz-${XQUARTZ_VERSION}
rm /tmp/XQuartz.dmg
- name: Query dependencies
run: |
install.packages('remotes')
Expand Down

0 comments on commit 4e151d4

Please sign in to comment.