mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-08-20 04:03:45 +00:00
008d615c62
Infrastructure improvements: 1. GitHub Actions CI workflow: - Test on Julia 1.10 (LTS) and latest stable - Ubuntu Linux runner - Code coverage via Codecov 2. Documentation build workflow: - Builds on push to master/main and PRs - Uses Documenter.jl with GitHub Pages deployment 3. Fix missing exports for tests: - Add Statistics to test dependencies Tests still have API mismatches (49 failures) but infrastructure is now
35 lines
738 B
YAML
35 lines
738 B
YAML
name: Documentation
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- main
|
|
tags: '*'
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: julia-actions/setup-julia@v2
|
|
with:
|
|
version: '1'
|
|
|
|
- uses: julia-actions/cache@v2
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
julia --project=docs -e '
|
|
using Pkg
|
|
Pkg.develop(PackageSpec(path=pwd()))
|
|
Pkg.instantiate()'
|
|
|
|
- name: Build documentation
|
|
run: julia --project=docs docs/make.jl
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
|