Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Zilong-Li committed Oct 14, 2023
1 parent b064cde commit dafda97
Showing 1 changed file with 13 additions and 28 deletions.
41 changes: 13 additions & 28 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,37 +10,22 @@ on:
- dev
pull_request:

env:
_R_CHECK_FORCE_SUGGESTS_: "false"

jobs:
ci:

strategy:
matrix:
include:
- {os: macOS-latest}
- {os: ubuntu-latest}

runs-on: ${{ matrix.os }}

R-CMD-check:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
steps:
- uses: actions/checkout@v3

- name: Bootstrap
run: |
curl -OLs https://eddelbuettel.github.io/r-ci/run.sh
chmod 0755 run.sh
./run.sh bootstrap
- name: Dependencies
run: ./run.sh install_all

- name: Test
run: ./run.sh run_tests
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

- name: Coverage
if: ${{ matrix.os == 'ubuntu-latest' }}
run: ./run.sh coverage

- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::rcmdcheck
needs: check

- uses: r-lib/actions/check-r-package@v2

0 comments on commit dafda97

Please sign in to comment.