Skip to content

Commit 1f37d94

Browse files
committed
feat: Use chrome-headless-shell for chromote-based checks
1 parent b68fac7 commit 1f37d94

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/apps-test-os.yml

+11
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,17 @@ jobs:
128128
run: |
129129
cat("name=gha-", '${{ steps.failed_branch.outputs.name }}', '-', '${{ steps.short.outputs.r-version }}', '-', '${{ runner.os }}', "\n", file = Sys.getenv("GITHUB_OUTPUT"), sep = "", append = TRUE)
130130
131+
- name: Use chrome-headless-shell@latest-stable
132+
id: setup_chromote
133+
shell: Rscript {0}
134+
run: |
135+
path <- chromote::chrome_versions_add("latest-stable", binary = "chrome-headless-shell")
136+
cat(
137+
sprintf("\nCHROMOTE_CHROME=%s\n", path),
138+
Sys.getenv("GITHUB_ENV"),
139+
append = TRUE
140+
)
141+
131142
# Install packages as necessary!
132143
- name: Run tests
133144
timeout-minutes: 180 # 3 hrs

0 commit comments

Comments
 (0)