Fix CI badge #598
This file contains hidden or 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: DemoFilesUpToDate | |
| on: | |
| push: | |
| branches: | |
| - master | |
| tags: "*" | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: julia-actions/setup-julia@v2 | |
| with: | |
| version: "1.11" | |
| - name: Install dependencies | |
| run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' | |
| - name: Check demo files | |
| run: | | |
| julia --project=docs/ docs/literateDemo.jl; | |
| if [[ `git status --porcelain` ]] ; then exit 1; else exit 0; fi |