Skip to content

Commit 1adab19

Browse files
committed
Add CI workflow for tool install on arm64 Linux and macOS
Integration test for quarto install tinytex and chrome-headless-shell on platforms not covered by smoke tests (arm64 Linux, macOS). Path-filtered to src/tools/** with weekly schedule for upstream breakage detection. Also add test-install.yml to paths-ignore in test-smokes-parallel.yml and test-ff-matrix.yml so changes to the new workflow don't trigger unrelated test suites.
1 parent b6e1c2e commit 1adab19

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

.github/workflows/test-ff-matrix.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
- ".github/workflows/stale-needs-repro.yml"
2121
- ".github/workflows/test-bundle.yml"
2222
- ".github/workflows/test-smokes-parallel.yml"
23+
- ".github/workflows/test-install.yml"
2324
- ".github/workflows/test-quarto-latexmk.yml"
2425
- ".github/workflows/update-test-timing.yml"
2526
pull_request:
@@ -31,6 +32,7 @@ on:
3132
- ".github/workflows/performance-check.yml"
3233
- ".github/workflows/stale-needs-repro.yml"
3334
- ".github/workflows/test-bundle.yml"
35+
- ".github/workflows/test-install.yml"
3436
- ".github/workflows/test-smokes-parallel.yml"
3537
- ".github/workflows/test-quarto-latexmk.yml"
3638
- ".github/workflows/update-test-timing.yml"

.github/workflows/test-install.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Integration test for `quarto install` on platforms not covered by smoke tests.
2+
# Smoke tests (test-smokes.yml) cover x86_64 Linux and Windows.
3+
# This workflow fills the gap for arm64 Linux and macOS.
4+
name: Test Tool Install
5+
on:
6+
workflow_dispatch:
7+
push:
8+
branches:
9+
- main
10+
- "v1.*"
11+
paths:
12+
- "src/tools/**"
13+
- ".github/workflows/test-install.yml"
14+
pull_request:
15+
paths:
16+
- "src/tools/**"
17+
- ".github/workflows/test-install.yml"
18+
schedule:
19+
# Weekly Monday 9am UTC — detect upstream CDN/API breakage
20+
- cron: "0 9 * * 1"
21+
22+
permissions:
23+
contents: read
24+
25+
jobs:
26+
test-install:
27+
name: Install tools (${{ matrix.os }})
28+
strategy:
29+
fail-fast: false
30+
matrix:
31+
os: [ubuntu-24.04-arm, macos-latest]
32+
runs-on: ${{ matrix.os }}
33+
steps:
34+
- name: Checkout Repo
35+
uses: actions/checkout@v6
36+
37+
- uses: ./.github/workflows/actions/quarto-dev
38+
39+
- name: Install TinyTeX
40+
env:
41+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42+
run: |
43+
quarto install tinytex
44+
45+
- name: Install Chrome Headless Shell
46+
run: |
47+
quarto install chrome-headless-shell --no-prompt
48+
49+
- name: Verify tools with quarto check
50+
run: |
51+
quarto check install

.github/workflows/test-smokes-parallel.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ on:
2929
- ".github/workflows/stale-needs-repro.yml"
3030
- ".github/workflows/test-bundle.yml"
3131
- ".github/workflows/test-ff-matrix.yml"
32+
- ".github/workflows/test-install.yml"
3233
- ".github/workflows/test-quarto-latexmk.yml"
3334
- ".github/workflows/update-test-timing.yml"
3435
push:

0 commit comments

Comments
 (0)