Skip to content

Commit

Permalink
config in matrix
Browse files Browse the repository at this point in the history
ref #330
  • Loading branch information
wibeasley committed Nov 4, 2021
1 parent 56fefb5 commit f38046b
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/check-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, macos-latest]
include:
- os: ubuntu-latest
- os: macos-latest
ONLY_READ_TESTS: true
config:
- {os: ubuntu-latest, r: 'release'}
- {os: macOS-latest, r: 'release', http-user-agent: 'release', ONLY_READ_TESTS: true}
# - {os: windows-latest, r: 'release'}
# os: [ubuntu-latest]
# include:
# - os: ubuntu-latest
Expand All @@ -37,13 +36,18 @@ jobs:

- uses: r-lib/actions/setup-r@v1
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
ONLY_READ_TESTS: ${{ matrix.config.ONLY_READ_TESTS }}
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v1
with:
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@v1
with:
ONLY_READ_TESTS: ${{ matrix.config.ONLY_READ_TESTS }}

- name: Show testthat output
if: always()
Expand Down

0 comments on commit f38046b

Please sign in to comment.