Skip to content

Commit

Permalink
Add a job on Windows + R 4.1
Browse files Browse the repository at this point in the history
The encoding improvements in R 4.2 on Windows mean that I really need to include 4.1 to make sure I can see the problem and that I have fixed it.

Also make the GHA config more obvious in other ways.
  • Loading branch information
jennybc committed May 5, 2022
1 parent 829ba96 commit b3d8a0b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 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,10 +48,10 @@ jobs:
- uses: actions/checkout@v2

- name: Set locale
if: matrix.config.locale == 'en_US'
if: matrix.config.locale == 'en_US.ISO-8859-1'
run: |
sudo locale-gen en_US
echo "LC_ALL=en_US" >> $GITHUB_ENV
sudo locale-gen en_US.ISO-8859-1
echo "LC_ALL=en_US.ISO-8859-1" >> $GITHUB_ENV
- uses: r-lib/actions/setup-pandoc@v2

Expand Down

0 comments on commit b3d8a0b

Please sign in to comment.