Skip to content

Commit

Permalink
Get current GHA for R-CMD-check
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed May 8, 2022
1 parent c30aeeb commit 78c6983
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
- {os: macOS-latest, r: 'release'}

- {os: windows-latest, r: 'release'}
# Use 4.1 to trigger usage of RTools40
- {os: windows-latest, r: '4.1'}
# Use 3.6 to trigger usage of RTools35
- {os: windows-latest, r: '3.6'}

Expand All @@ -35,7 +37,8 @@ jobs:
- {os: ubuntu-18.04, r: 'oldrel-2'}
- {os: ubuntu-18.04, r: 'oldrel-3'}
- {os: ubuntu-18.04, r: 'oldrel-4'}
- {os: ubuntu-18.04, r: 'release', cran: "https://demo.rstudiopm.com/all/__linux__/bionic/latest", locale: 'en_US'}
# Check with a non-UTF-8 encoding
- {os: ubuntu-18.04, r: 'release', cran: "https://demo.rstudiopm.com/all/__linux__/bionic/latest", locale: 'en_US.ISO-8859-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -45,7 +48,8 @@ jobs:
- uses: actions/checkout@v2

- name: Set locale
if: matrix.config.locale == 'en_US'
if: matrix.config.locale == 'en_US.ISO-8859-1'
# en_US is an alias for what we want
run: |
sudo locale-gen en_US
echo "LC_ALL=en_US" >> $GITHUB_ENV
Expand Down

0 comments on commit 78c6983

Please sign in to comment.