mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-21 18:33:36 +00:00
ci(docs): Scope Documentation workflow and verify quickstart
Restrict pull_request runs to doc-, source-, and dependency-touching paths. Run scripts/verify_docs_quickstart.jl before docs/make.jl so the homepage snippet cannot drift without failing CI.
This commit is contained in:
@@ -7,6 +7,14 @@ on:
|
||||
- main
|
||||
tags: '*'
|
||||
pull_request:
|
||||
paths:
|
||||
- "docs/**"
|
||||
- "src/**"
|
||||
- "scripts/**"
|
||||
- "test/docs/**"
|
||||
- "Project.toml"
|
||||
- "Manifest.toml"
|
||||
- ".github/workflows/Documentation.yml"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -26,7 +34,10 @@ jobs:
|
||||
using Pkg
|
||||
Pkg.develop(PackageSpec(path=pwd()))
|
||||
Pkg.instantiate()'
|
||||
|
||||
|
||||
- name: Verify documentation quickstart snippet
|
||||
run: julia --project=. scripts/verify_docs_quickstart.jl
|
||||
|
||||
- name: Build documentation
|
||||
run: julia --project=docs docs/make.jl
|
||||
env:
|
||||
|
||||
Reference in New Issue
Block a user