File tree Expand file tree Collapse file tree 3 files changed +62
-20
lines changed Expand file tree Collapse file tree 3 files changed +62
-20
lines changed Original file line number Diff line number Diff line change
1
+ # Adapted from
2
+ # https://github.com/marketplace/actions/run-julia-package-tests
3
+
4
+ name : ContinuousIntegration
5
+
6
+ on :
7
+ push :
8
+ branches : [ master ]
9
+ pull_request :
10
+ branches : [ master ]
11
+
12
+ jobs :
13
+ ContinuousIntegration :
14
+ runs-on : ${{ matrix.os }}
15
+ strategy :
16
+ matrix :
17
+ julia-version : ['1.3', 'nightly']
18
+ julia-arch : [x86]
19
+ os : [ubuntu-latest]
20
+ steps :
21
+ - uses : actions/checkout@v2
22
+ - uses : julia-actions/setup-julia@v1
23
+ with :
24
+ version : ${{ matrix.julia-version }}
25
+ arch : ${{ matrix.julia-arch }}
26
+ show-versioninfo : true
27
+ - uses : julia-actions/julia-buildpkg@v1
28
+ - uses : julia-actions/julia-runtest@v1
29
+ with :
30
+ annotate : true
Original file line number Diff line number Diff line change
1
+ # Adapted from
2
+ # https://juliadocs.github.io/Documenter.jl/stable/man/hosting/#GitHub-Actions
3
+ #
4
+ # TODO: Do we need to install TagBot.yml for documenting tagged versions?
5
+ # See discussion in the above URL regarding permissions for tagged release.
6
+
7
+ name : Documentation
8
+
9
+ on :
10
+ push :
11
+ branches :
12
+ - master
13
+ tags : ' *'
14
+ pull_request :
15
+
16
+ jobs :
17
+ Documentation :
18
+ permissions :
19
+ contents : write
20
+ runs-on : ubuntu-latest
21
+ steps :
22
+ - uses : actions/checkout@v2
23
+ - uses : julia-actions/setup-julia@v1
24
+ with :
25
+ version : ' 1.6'
26
+ - name : Install dependencies
27
+ run : julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
28
+ - name : Build and deploy documentation
29
+ env :
30
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31
+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
32
+ run : julia --project=docs/ docs/make.jl
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments