Skip to content

Commit 6a4f2a6

Browse files
author
Fred Wu
committed
fix(ci): avoid duplicate R dependency resolution and synchronise startup tests
1 parent 7fba664 commit 6a4f2a6

2 files changed

Lines changed: 99 additions & 124 deletions

File tree

‎.github/workflows/main.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,17 @@ jobs:
4848
uses: r-lib/actions/setup-r-dependencies@f9a764fea8d5c63df6ef9a5c7795bf7deb5d7e05 # v2
4949
with:
5050
working-directory: sess
51+
# Keep Suggests for live plot tests. languageserver brings lintr/styler;
52+
# renv is exercised by the Interactive library-isolation tests.
5153
extra-packages: |
5254
any::remotes
5355
any::pkgbuild
5456
any::languageserver
55-
any::lintr
56-
any::styler
5757
any::renv
58-
- run: pnpm run build
58+
- run: pnpm run compile
59+
- name: Install bundled sess with prepared dependencies
60+
run: remotes::install_local('dist/resources/sess', dependencies = FALSE, upgrade = 'never', force = TRUE)
61+
shell: Rscript {0}
5962
- name: Verify live plot lifecycle dependencies
6063
run: |
6164
packages <- c("processx", "later", "jsonlite", "jgd", "httpgd", "svglite")

0 commit comments

Comments
 (0)