File tree 4 files changed +62
-8
lines changed
4 files changed +62
-8
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,17 @@ name: CompatHelper
3
3
on :
4
4
schedule :
5
5
- cron : ' 00 00 * * *'
6
+ workflow_dispatch :
6
7
7
8
jobs :
8
9
CompatHelper :
9
- runs-on : ubuntu-latest
10
+ runs-on : ${{ matrix.os }}
11
+ strategy :
12
+ matrix :
13
+ julia-version : [1.2.0]
14
+ julia-arch : [x86]
15
+ os : [ubuntu-latest]
10
16
steps :
11
- - uses : julia-actions/setup-julia@latest
12
- with :
13
- version : 1.3
14
17
- name : Pkg.add("CompatHelper")
15
18
run : julia -e 'using Pkg; Pkg.add("CompatHelper")'
16
19
- name : CompatHelper.main()
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
10
13
with :
11
14
token : ${{ secrets.GITHUB_TOKEN }}
15
+ ssh : ${{ secrets.DOCUMENTER_KEY }}
Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on :
3
+ push :
4
+ branches : [master]
5
+ pull_request :
6
+ types : [opened, synchronize, reopened]
7
+ jobs :
8
+ test :
9
+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
10
+ runs-on : ${{ matrix.os }}
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ include :
15
+ - version : ' 1'
16
+ os : ubuntu-latest
17
+ arch : x64
18
+ - version : ' 1'
19
+ os : ubuntu-latest
20
+ arch : x86
21
+ - version : ' nightly'
22
+ os : ubuntu-latest
23
+ arch : x64
24
+ steps :
25
+ - uses : actions/checkout@v2
26
+ - uses : julia-actions/setup-julia@v1
27
+ with :
28
+ version : ${{ matrix.version }}
29
+ arch : ${{ matrix.arch }}
30
+ - uses : actions/cache@v1
31
+ env :
32
+ cache-name : cache-artifacts
33
+ with :
34
+ path : ~/.julia/artifacts
35
+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
36
+ restore-keys : |
37
+ ${{ runner.os }}-test-${{ env.cache-name }}-
38
+ ${{ runner.os }}-test-
39
+ ${{ runner.os }}-
40
+ - uses : julia-actions/julia-buildpkg@v1
41
+ - uses : julia-actions/julia-runtest@v1
42
+ with :
43
+ depwarn : error
44
+ - uses : julia-actions/julia-processcoverage@v1
45
+ - uses : codecov/codecov-action@v1
46
+ with :
47
+ file : lcov.info
Original file line number Diff line number Diff line change @@ -168,8 +168,8 @@ model = Model(optimizer_constructor)
168
168
optimize! (model)
169
169
```
170
170
171
- [ build-img ] : https://travis-ci .org/blegat/SetProg.jl.svg?branch=master
172
- [ build-url ] : https://travis-ci .org/blegat/SetProg.jl
171
+ [ build-img ] : https://github .org/blegat/SetProg.jl/workflows/CI/badge .svg?branch=master
172
+ [ build-url ] : https://github .org/blegat/SetProg.jl/actions?query=workflow%3ACI
173
173
[ codecov-img ] : http://codecov.io/github/blegat/SetProg.jl/coverage.svg?branch=master
174
174
[ codecov-url ] : http://codecov.io/github/blegat/SetProg.jl?branch=master
175
175
You can’t perform that action at this time.
0 commit comments