Skip to content

Commit 9e48da2

Browse files
authored
GHA - test release and pre-release install (#124)
1 parent 3ab775c commit 9e48da2

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

Diff for: .github/workflows/test.yaml

+15-10
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,27 @@ on:
1717
tinytex:
1818
description: 'If true, install TinyTex, required for PDF rendering'
1919
required: false
20-
default: 'true'
20+
default: 'false'
2121

2222
jobs:
2323
quarto-setup:
2424
runs-on: ${{ matrix.config.os }}
25-
name: ${{ matrix.config.os }}
25+
name: ${{ matrix.config.os }} (${{ inputs.version || matrix.version }})
2626

2727
strategy:
2828
fail-fast: false
2929
matrix:
30+
version: ['release', 'pre-release']
3031
config:
31-
- { os: macos-latest }
32-
- { os: macos-13 }
33-
- { os: windows-latest }
34-
- { os: ubuntu-latest }
35-
- { os: ubuntu-22.04-arm }
32+
# Default config for standard platforms
33+
- os: macos-latest
34+
- os: macos-13
35+
- os: windows-latest
36+
tinytex: 'false'
37+
- os: ubuntu-latest
38+
# Special config for ARM
39+
- os: ubuntu-22.04-arm
40+
tinytex: 'false'
3641

3742
steps:
3843
- uses: actions/checkout@v4
@@ -41,8 +46,8 @@ jobs:
4146
env:
4247
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4348
with:
44-
version: ${{ inputs.version || 'release' }}
45-
tinytex: ${{ inputs.tinytex == 'true'}}
49+
version: ${{ inputs.version || matrix.version }}
50+
tinytex: ${{ inputs.tinytex || matrix.config.tinytex || 'true' }}
4651

4752
- run: quarto --version
4853

@@ -51,4 +56,4 @@ jobs:
5156

5257
- run: where.exe quarto
5358
if: ${{ runner.os == 'Windows' }}
54-
59+

0 commit comments

Comments
 (0)