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 1190126 commit b064cde
Showing 1 changed file with 17 additions and 35 deletions.
52 changes: 17 additions & 35 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,54 +11,36 @@ on:
pull_request:

env:
USE_BSPM: "true"
_R_CHECK_FORCE_SUGGESTS_: "false"

jobs:
ci:

runs-on: ubuntu-latest

container:
image: ${{ matrix.cntr }}

strategy:
matrix:
include:
- name: release
cntr: rcpp/ci
r: R
- name: r-4.2
cntr: rcpp/ci-4.2
r: R
- name: r-4.1
cntr: rcpp/ci-4.1
r: R
- name: r-4.0
cntr: rcpp/ci-4.0
r: R
- name: r-3.6
cntr: rcpp/ci-3.6
r: R
- name: dev
cntr: rcpp/ci-dev
r: RD
- {os: macOS-latest}
- {os: ubuntu-latest}

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

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: Bootstrap
run: |
curl -OLs https://eddelbuettel.github.io/r-ci/run.sh
chmod 0755 run.sh
./run.sh bootstrap
- name: SessionInfo
run: ${{ matrix.r }} -q -e 'sessionInfo()'
- name: Dependencies
run: ./run.sh install_all

- name: Build
run: ${{matrix.r }} CMD build --no-build-vignettes --no-manual .
- name: Test
run: ./run.sh run_tests

- name: Check
run: CI=true ${{ matrix.r }} CMD check --no-vignettes --no-manual vcfppR_*.tar.gz
- name: Coverage
if: ${{ matrix.os == 'ubuntu-latest' }}
run: ./run.sh coverage


0 comments on commit b064cde

Please sign in to comment.