File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : CI
2+ on :
3+ pull_request :
4+ branches :
5+ - master
6+ push :
7+ branches :
8+ - master
9+ tags : ' *'
10+ jobs :
11+ test :
12+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
13+ runs-on : ${{ matrix.os }}
14+ strategy :
15+ fail-fast : false
16+ matrix :
17+ version :
18+ - ' 1.6' # Replace this with the minimum Julia version that your package supports. E.g. if your package requires Julia 1.5 or higher, change this to '1.5'.
19+ - ' 1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia.
20+ # - 'nightly'
21+ os :
22+ - ubuntu-latest
23+ arch :
24+ - x64
25+ steps :
26+ - uses : actions/checkout@v2
27+ - uses : julia-actions/setup-julia@v1
28+ with :
29+ version : ${{ matrix.version }}
30+ arch : ${{ matrix.arch }}
31+ - uses : actions/cache@v1
32+ env :
33+ cache-name : cache-artifacts
34+ with :
35+ path : ~/.julia/artifacts
36+ key : ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
37+ restore-keys : |
38+ ${{ runner.os }}-test-${{ env.cache-name }}-
39+ ${{ runner.os }}-test-
40+ ${{ runner.os }}-
41+ - uses : julia-actions/julia-buildpkg@v1
42+ - uses : julia-actions/julia-runtest@v1
43+ - uses : julia-actions/julia-processcoverage@v1
44+ - uses : codecov/codecov-action@v1
45+ with :
46+ file : lcov.info
Original file line number Diff line number Diff line change 1+ name : CompatHelper
2+ on :
3+ schedule :
4+ - cron : 0 0 * * *
5+ workflow_dispatch :
6+ jobs :
7+ CompatHelper :
8+ runs-on : ubuntu-latest
9+ steps :
10+ - name : " Add the General registry via Git"
11+ run : |
12+ import Pkg
13+ ENV["JULIA_PKG_SERVER"] = ""
14+ Pkg.Registry.add("General")
15+ shell : julia --color=yes {0}
16+ - name : " Install CompatHelper"
17+ run : |
18+ import Pkg
19+ name = "CompatHelper"
20+ uuid = "aa819f21-2bde-4658-8897-bab36330d9b7"
21+ version = "3"
22+ Pkg.add(; name, uuid, version)
23+ shell : julia --color=yes {0}
24+ - name : " Run CompatHelper"
25+ run : |
26+ import CompatHelper
27+ CompatHelper.main()
28+ shell : julia --color=yes {0}
29+ env :
30+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
31+ COMPATHELPER_PRIV : ${{ secrets.DOCUMENTER_KEY }}
32+ # COMPATHELPER_PRIV: ${{ secrets.COMPATHELPER_PRIV }}
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 }}
You can’t perform that action at this time.
0 commit comments