File tree Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Expand file tree Collapse file tree 1 file changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ tags : ' *'
8
+ pull_request :
9
+
10
+ jobs :
11
+ test :
12
+ runs-on : ubuntu-latest
13
+ strategy :
14
+ matrix :
15
+ julia-version :
16
+ - ' 1'
17
+ - ' 1.6'
18
+ - ' nightly'
19
+ fail-fast : false
20
+ name : Test Julia ${{ matrix.julia-version }}
21
+ steps :
22
+ - uses : actions/checkout@v2
23
+ - uses : julia-actions/setup-julia@v1
24
+ with :
25
+ version : ${{ matrix.julia-version }}
26
+ - name : Install LLVM.jl
27
+ run : |
28
+ using Pkg
29
+ Pkg.activate(".")
30
+ Pkg.add(url = "https://github.com/maleadt/LLVM.jl")
31
+ shell : julia --color=yes {0}
32
+ - uses : julia-actions/julia-runtest@v1
33
+ - uses : julia-actions/julia-processcoverage@v1
34
+ - uses : codecov/codecov-action@v2
35
+ with :
36
+ file : ./lcov.info
37
+ flags : Pkg.test
38
+ name : codecov-umbrella
39
+
40
+ # https://github.com/tkf/julia-code-style-suggesters
41
+ code-style :
42
+ if : always() && github.event.pull_request
43
+ runs-on : ubuntu-latest
44
+ steps :
45
+ - uses : tkf/julia-code-style-suggesters@v1
46
+
47
+ # A job that succeeds if and only if all jobs succeed.
48
+ all-success :
49
+ if : always() && github.event.pull_request
50
+ needs : [test, code-style]
51
+ runs-on : ubuntu-latest
52
+ steps :
53
+ # https://github.com/tkf/merge-conclusions-action
54
+ - uses : tkf/merge-conclusions-action@v1
55
+ with :
56
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments