Skip to content

Commit

Permalink
Merge pull request #95 from Appsilon/update-ci
Browse files Browse the repository at this point in the history
Update CI
  • Loading branch information
kamilzyla authored Jan 4, 2024
2 parents a6244d2 + 1025f5f commit f9007bd
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install R
uses: r-lib/actions/setup-r@v2
with:
r-version: '4.2.0'
r-version: '4.3.2'
use-public-rspm: true

- name: Install R package dependencies
uses: r-lib/actions/setup-r-dependencies@v2
Expand All @@ -24,24 +25,21 @@ jobs:
uses: r-lib/actions/check-r-package@v2
with:
error-on: '"note"'
env:
_R_CHECK_LICENSE_: 'FALSE' # We are using a proprietary license.

- name: Lint
if: always()
shell: Rscript {0}
run: |
lints <- lintr::lint_package()
for (lint in lints) print(lint)
quit(status = length(lints) > 0)
run: lintr::lint_package()
env:
LINTR_ERROR_ON_LINT: true

- name: E2E test
if: always()
uses: cypress-io/github-action@v4
uses: cypress-io/github-action@v6
with:
working-directory: js
start: yarn run-showcase

- name: Test coverage
run: |
Rscript -e 'covr::codecov()'
shell: Rscript {0}
run: covr::codecov()

0 comments on commit f9007bd

Please sign in to comment.