Skip to content

Commit

Permalink
gh action r check modernization
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Feb 9, 2025
1 parent b756471 commit 8b0cff5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/R-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ jobs:
fail-fast: false
matrix:
config:
- { os: windows-latest, r: 'release'}
- { os: macOS-latest, r: 'release'}
- { os: ubuntu-22.04, r: 'release'}
- { os: ubuntu-22.04, r: 'devel'}
- { os: windows-latest, r: "release" }
- { os: macOS-latest, r: "release" }
- { os: ubuntu-latest, r: "release" }
- { os: ubuntu-latest, r: "devel" }

env:
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
CRAN: ${{ matrix.config.rspm }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-r@v2
with:
Expand All @@ -45,6 +45,6 @@ jobs:
shell: bash

- name: Test coverage
if: matrix.config.os == 'ubuntu-22.04' && matrix.config.r == 'release'
if: matrix.config.os == 'ubuntu-latest' && matrix.config.r == 'release'
run: |
Rscript -e 'install.packages("covr")' -e 'covr::codecov(token = "${{secrets.CODECOV_TOKEN}}")'

0 comments on commit 8b0cff5

Please sign in to comment.