Handle trailing markdown content in qmd files correctly #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
merge_group: | |
pull_request: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
concurrency: | |
# Skip intermediate builds: all builds except for builds on the `main` branch | |
# Cancel intermediate builds: only pull request builds | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.ref != 'refs/heads/main' || github.run_number }} | |
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
permissions: | |
contents: read | |
jobs: | |
finalize: | |
timeout-minutes: 10 | |
needs: [test, format] | |
if: always() | |
runs-on: ubuntu-latest | |
steps: | |
- run: | | |
echo test: ${{ needs.test.result }} | |
echo test: ${{ needs.format.result }} | |
- run: exit 1 | |
if: | | |
(needs.test.result != 'success') || | |
(needs.format.result != 'success') | |
test: | |
permissions: | |
actions: write | |
contents: read | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 60 | |
strategy: | |
matrix: | |
version: | |
- "1.6" | |
- "1.10" | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
# macOS 1.6 seems to consistently stall on `Plots` notebooks. Skip this | |
# combination and test on a slightly newer macOS version instead. | |
exclude: | |
- version: "1.6" | |
os: macos-latest | |
include: | |
- version: "1.7" | |
os: macos-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
with: | |
persist-credentials: false | |
- uses: julia-actions/setup-julia@58ad1cdde70774ab0693de31c3cd4e751b46aea2 | |
with: | |
version: ${{ matrix.version }} | |
- uses: julia-actions/cache@207a5a0786d0263d27c287c7bc6dd54fec8bed64 | |
- uses: julia-actions/julia-buildpkg@5484b0e27fa12452eb1deffe4fd40ff700c429b9 | |
- uses: julia-actions/julia-runtest@79a7e100883947123f8263c5f06e6c0ea3eb972f | |
with: | |
depwarn: "yes" | |
- uses: julia-actions/julia-processcoverage@03114f09f119417c3242a9fb6e0b722676aedf38 | |
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d | |
with: | |
verbose: true | |
files: lcov.info | |
format: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
with: | |
persist-credentials: false | |
- uses: julia-actions/setup-julia@58ad1cdde70774ab0693de31c3cd4e751b46aea2 | |
with: | |
version: "1" | |
- run: | | |
julia --project=.ci -e 'using Pkg; Pkg.instantiate(); Pkg.precompile()' | |
julia --project=.ci .ci/format.jl |