Skip to content

Commit 893bf7e

Browse files
committed
Add chromium deprecation warning test and enable arm64 chrome-headless-shell
Remove the arm64 skip for chrome-headless-shell (this branch has the Playwright CDN code). Add a second job testing that quarto install chromium shows the deprecation warning on all OS/arch combinations.
1 parent e8f65b6 commit 893bf7e

1 file changed

Lines changed: 25 additions & 2 deletions

File tree

.github/workflows/test-install.yml

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,34 @@ jobs:
4343
quarto install tinytex
4444
4545
- name: Install Chrome Headless Shell
46-
# arm64 Linux support requires #14334. Remove this condition once merged.
47-
if: runner.arch != 'ARM64'
4846
run: |
4947
quarto install chrome-headless-shell --no-prompt
5048
5149
- name: Verify tools with quarto check
5250
run: |
5351
quarto check install
52+
53+
test-chromium-deprecation:
54+
name: Chromium deprecation warning (${{ matrix.os }})
55+
strategy:
56+
fail-fast: false
57+
matrix:
58+
os: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest]
59+
runs-on: ${{ matrix.os }}
60+
steps:
61+
- name: Checkout Repo
62+
uses: actions/checkout@v6
63+
64+
- uses: ./.github/workflows/actions/quarto-dev
65+
66+
- name: Verify chromium install shows deprecation warning
67+
shell: bash
68+
run: |
69+
quarto install chromium --no-prompt 2>&1 | tee /tmp/chromium-output.txt || true
70+
if grep -q "deprecated" /tmp/chromium-output.txt; then
71+
echo "✓ Deprecation warning found"
72+
else
73+
echo "✗ Deprecation warning missing"
74+
cat /tmp/chromium-output.txt
75+
exit 1
76+
fi

0 commit comments

Comments
 (0)