File tree Expand file tree Collapse file tree 4 files changed +42
-98
lines changed Expand file tree Collapse file tree 4 files changed +42
-98
lines changed Original file line number Diff line number Diff line change 1- name : Documentation
2-
3- on :
4- push :
5- branches :
6- - master
7- tags : ' *'
8- pull_request :
9-
10- jobs :
11- build :
12- runs-on : ubuntu-latest
13- steps :
14- - uses : actions/checkout@v4
15- - uses : julia-actions/setup-julia@latest
16- with :
17- version : ' 1'
18- - name : Install dependencies
19- run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
20- - name : Build and deploy
21- env :
22- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
23- DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
24- run : julia --project=docs/ --code-coverage=user docs/make.jl
25- - uses : julia-actions/julia-processcoverage@v1
26- - uses : codecov/codecov-action@v3
27- with :
28- file : lcov.info
1+ name : " Documentation"
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ tags : ' *'
8+ pull_request :
9+
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.ref }}
12+ cancel-in-progress : ${{ github.ref_name != github.event.repository.default_branch || github.ref != 'refs/tags/v*' }}
13+
14+ jobs :
15+ build-and-deploy-docs :
16+ name : " Documentation"
17+ uses : " SciML/.github/.github/workflows/documentation.yml@v1"
18+ secrets : " inherit"
Original file line number Diff line number Diff line change 1- name : format-check
1+ name : " Format Check "
22
33on :
44 push :
55 branches :
66 - ' master'
7- - ' release-'
87 tags : ' *'
98 pull_request :
109
1110jobs :
12- build :
13- runs-on : ${{ matrix.os }}
14- strategy :
15- matrix :
16- julia-version : [1]
17- julia-arch : [x86]
18- os : [ubuntu-latest]
19- steps :
20- - uses : julia-actions/setup-julia@latest
21- with :
22- version : ${{ matrix.julia-version }}
23-
24- - uses : actions/checkout@v4
25- - name : Install JuliaFormatter and format
26- # This will use the latest version by default but you can set the version like so:
27- #
28- # julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter", version="0.13.0"))'
29- run : |
30- julia -e 'using Pkg; Pkg.add(PackageSpec(name="JuliaFormatter"))'
31- julia -e 'using JuliaFormatter; format(".", verbose=true)'
32- - name : Format check
33- run : |
34- julia -e '
35- out = Cmd(`git diff`) |> read |> String
36- if out == ""
37- exit(0)
38- else
39- @error "Some files have not been formatted !!!"
40- write(stdout, out)
41- exit(1)
42- end'
11+ format-check :
12+ name : " Format Check"
13+ uses : " SciML/.github/.github/workflows/format-check.yml@v1"
Original file line number Diff line number Diff line change 1+ name : " Tests"
2+ on :
3+ pull_request :
4+ branches :
5+ - master
6+ push :
7+ branches :
8+ - master
9+ jobs :
10+ tests :
11+ name : " Tests"
12+ strategy :
13+ matrix :
14+ group :
15+ - " Core"
16+ - " Downstream"
17+ uses : " SciML/.github/.github/workflows/tests.yml@v1"
18+ with :
19+ group : " ${{ matrix.group }}"
20+ secrets : " inherit"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments