File tree Expand file tree Collapse file tree 3 files changed +74
-18
lines changed Expand file tree Collapse file tree 3 files changed +74
-18
lines changed Original file line number Diff line number Diff line change 1
1
name : TagBot
2
2
on :
3
- schedule :
4
- - cron : 0 * * * *
3
+ issue_comment :
4
+ types :
5
+ - created
6
+ workflow_dispatch :
5
7
jobs :
6
8
TagBot :
9
+ if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
7
10
runs-on : ubuntu-latest
8
11
steps :
9
12
- uses : JuliaRegistries/TagBot@v1
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ tags : ["*"]
7
+ pull_request :
8
+
9
+ jobs :
10
+ test :
11
+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
12
+ runs-on : ${{ matrix.os }}
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ version :
17
+ - " 1.3"
18
+ - " 1"
19
+ - " nightly"
20
+ os :
21
+ - ubuntu-latest
22
+ - macOS-latest
23
+ - windows-latest
24
+ arch :
25
+ - x64
26
+ steps :
27
+ - uses : actions/checkout@v2
28
+ - uses : julia-actions/setup-julia@v1
29
+ with :
30
+ version : ${{ matrix.version }}
31
+ arch : ${{ matrix.arch }}
32
+ - name : Cache artifacts
33
+ uses : actions/cache@v1
34
+ env :
35
+ cache-name : cache-artifacts
36
+ with :
37
+ path : ~/.julia/artifacts
38
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
39
+ restore-keys : |
40
+ ${{ runner.os }}-test-${{ env.cache-name }}-
41
+ ${{ runner.os }}-test-
42
+ ${{ runner.os }}-
43
+ - uses : julia-actions/julia-buildpkg@latest
44
+ - uses : julia-actions/julia-runtest@latest
45
+ - uses : julia-actions/julia-processcoverage@v1
46
+ - uses : codecov/codecov-action@v1
47
+ with :
48
+ file : ./lcov.info
49
+ flags : unittests
50
+ docs :
51
+ name : Documentation
52
+ runs-on : ubuntu-latest
53
+ steps :
54
+ - uses : actions/checkout@v2
55
+ - uses : julia-actions/setup-julia@v1
56
+ with :
57
+ version : " 1"
58
+ - uses : julia-actions/julia-docdeploy@releases/v1
59
+ env :
60
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
61
+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
Original file line number Diff line number Diff line change 1
1
language : julia
2
2
os :
3
- - linux
4
- - osx
5
3
- freebsd
6
- - windows
7
4
julia :
5
+ - 1.3
8
6
- 1
9
7
- nightly
10
8
notifications :
11
9
email : false
12
- coveralls : true
13
- jobs :
14
- include :
15
- - stage : " Documentation"
16
- julia : 1
17
- os : linux
18
- script :
19
- - julia --project=docs/ -e 'using Pkg;
20
- Pkg.develop(PackageSpec(path=pwd()));
21
- Pkg.instantiate();
22
- Pkg.build();'
23
- - julia --project=docs/ docs/make.jl
24
- after_success : skip
10
+
11
+ branches :
12
+ only :
13
+ - master
14
+ - gh-pages # For building documentation
15
+ - /^testing-.*$/ # testing branches
16
+ - /^v[0-9]+\.[0-9]+\.[0-9]+$/ # version tags
You can’t perform that action at this time.
0 commit comments