File tree Expand file tree Collapse file tree 6 files changed +56
-51
lines changed Expand file tree Collapse file tree 6 files changed +56
-51
lines changed Original file line number Diff line number Diff line change 1- name : julia-1.6
1+ name : CI
2+
23on :
34 push :
45 branches :
56 - master
67 pull_request :
8+
9+ concurrency :
10+ # Skip intermediate builds: always.
11+ # Cancel intermediate builds: only if it is a pull request build.
12+ group : ${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
14+
715jobs :
816 test :
917 name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
@@ -13,12 +21,11 @@ jobs:
1321 matrix :
1422 version :
1523 - ' 1.6'
24+ - ' 1'
1625 os :
1726 - ubuntu-latest
1827 arch :
1928 - x64
20- env :
21- PYTHON : ' '
2229 steps :
2330 - uses : actions/checkout@v2
2431 with :
@@ -27,18 +34,13 @@ jobs:
2734 with :
2835 version : ${{ matrix.version }}
2936 arch : ${{ matrix.arch }}
30- - uses : actions/cache@v2
37+ - uses : julia- actions/cache@v1
3138 with :
32- path : ~/.julia/artifacts
33- key : ${{ runner.os }}-test-artifacts-${{ hashFiles('**/Project.toml') }}
34- restore-keys : ${{ runner.os }}-test-artifacts
35- - run : |
36- julia --project=. -e '
37- using Pkg
38- Pkg.instantiate()'
39+ cache-packages : " false"
40+ - uses : julia-actions/julia-buildpkg@v1
3941 - uses : julia-actions/julia-runtest@v1
4042 - uses : julia-actions/julia-processcoverage@v1
41- - uses : codecov/codecov-action@v1
43+ - uses : codecov/codecov-action@v2
4244 with :
4345 token : ${{ secrets.CODECOV_TOKEN }}
4446 file : lcov.info
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : julia-1.6
1+ name : Docs
2+
23on :
34 push :
45 branches :
56 - master
7+ tags : [v*]
68 pull_request :
9+
10+ concurrency :
11+ # Skip intermediate builds: always.
12+ # Cancel intermediate builds: only if it is a pull request build.
13+ group : ${{ github.workflow }}-${{ github.ref }}
14+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
15+
716jobs :
817 docs :
918 name : Documentation
1322 - uses : julia-actions/setup-julia@v1
1423 with :
1524 version : ' 1.6'
16- - run : |
17- julia --project=docs -e '
18- using Pkg
19- Pkg.develop(PackageSpec(path=pwd()))
20- Pkg.instantiate()'
21- - run : julia --project=docs docs/make.jl
25+ - uses : julia-actions/julia-docdeploy@v1
2226 env :
2327 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
2428 DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
Original file line number Diff line number Diff line change 1- name : julia-nightly
1+ name : JuliaNightly
2+
23on :
34 push :
45 branches :
56 - master
67 pull_request :
8+
9+ concurrency :
10+ # Skip intermediate builds: always.
11+ # Cancel intermediate builds: only if it is a pull request build.
12+ group : ${{ github.workflow }}-${{ github.ref }}
13+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
14+
715jobs :
816 test :
917 name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
1725 - ubuntu-latest
1826 arch :
1927 - x64
20- env :
21- PYTHON : ' '
2228 steps :
2329 - uses : actions/checkout@v2
2430 with :
@@ -27,18 +33,13 @@ jobs:
2733 with :
2834 version : ${{ matrix.version }}
2935 arch : ${{ matrix.arch }}
30- - uses : actions/cache@v2
36+ - uses : julia- actions/cache@v1
3137 with :
32- path : ~/.julia/artifacts
33- key : ${{ runner.os }}-test-artifacts-${{ hashFiles('**/Project.toml') }}
34- restore-keys : ${{ runner.os }}-test-artifacts
35- - run : |
36- julia --project=. -e '
37- using Pkg
38- Pkg.instantiate()'
38+ cache-packages : " false"
39+ - uses : julia-actions/julia-buildpkg@v1
3940 - uses : julia-actions/julia-runtest@v1
4041 - uses : julia-actions/julia-processcoverage@v1
41- - uses : codecov/codecov-action@v1
42+ - uses : codecov/codecov-action@v2
4243 with :
4344 token : ${{ secrets.CODECOV_TOKEN }}
4445 file : lcov.info
Original file line number Diff line number Diff line change 1+ name : TagBot
2+ on :
3+ issue_comment :
4+ types :
5+ - created
6+ workflow_dispatch :
7+ jobs :
8+ TagBot :
9+ if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : JuliaRegistries/TagBot@v1
13+ with :
14+ token : ${{ secrets.GITHUB_TOKEN }}
15+ ssh : ${{ secrets.DOCUMENTER_KEY }}
Original file line number Diff line number Diff line change 22
33| ** Build Status** | ** Coverage** | ** Documentation** |
44| :------------------------------------------------------:| :-------------------------------:| :-----------------:|
5- | [ ![ ] [ gha-1.6 -img ]] [ gha-url ] [ ![ ] [ gha-nightly-img ]] [ gha-url ] | [ ![ ] [ codecov-img ]] [ codecov-url ] | [ ![ ] [ dev-docs-img ]] [ dev-docs-url ] |
5+ | [ ![ ] [ gha-ci -img ]] [ gha-url ] [ ![ ] [ gha-nightly-img ]] [ gha-url ] | [ ![ ] [ codecov-img ]] [ codecov-url ] | [ ![ ] [ dev-docs-img ]] [ dev-docs-url ] |
66
7- [ gha-1.6 -img ] : https://github.com/JuliaCompilerPlugins/CodeInfoTools.jl/workflows/julia-1.6 /badge.svg
8- [ gha-nightly-img ] : https://github.com/JuliaCompilerPlugins/CodeInfoTools.jl/workflows/julia-nightly /badge.svg
7+ [ gha-ci -img ] : https://github.com/JuliaCompilerPlugins/CodeInfoTools.jl/workflows/CI /badge.svg?branch=master
8+ [ gha-nightly-img ] : https://github.com/JuliaCompilerPlugins/CodeInfoTools.jl/workflows/JuliaNightly /badge.svg?branch=master
99[ gha-url ] : https://github.com/JuliaCompilerPlugins/CodeInfoTools.jl/actions
1010[ codecov-img ] : https://codecov.io/github/JuliaCompilerPlugins/CodeInfoTools.jl/badge.svg?branch=master
1111[ codecov-url ] : https://codecov.io/github/JuliaCompilerPlugins/CodeInfoTools.jl?branch=master
You can’t perform that action at this time.
0 commit comments