File tree Expand file tree Collapse file tree 2 files changed +86
-0
lines changed Expand file tree Collapse file tree 2 files changed +86
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ env :
3
+ JULIA_NUM_THREADS : 2
4
+ on :
5
+ pull_request :
6
+ branches :
7
+ - main
8
+ push :
9
+ branches :
10
+ - main
11
+ tags : ' *'
12
+ jobs :
13
+ test :
14
+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
15
+ runs-on : ${{ matrix.os }}
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ version :
20
+ - ' 1.6'
21
+ os :
22
+ - ubuntu-latest
23
+ - macos-latest
24
+ - windows-latest
25
+ arch :
26
+ - x64
27
+ steps :
28
+ - uses : actions/checkout@v2
29
+ - uses : julia-actions/setup-julia@v1
30
+ with :
31
+ version : ${{ matrix.version }}
32
+ arch : ${{ matrix.arch }}
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@v1
44
+ - uses : julia-actions/julia-runtest@v1
45
+ - uses : julia-actions/julia-processcoverage@v1
46
+ - uses : codecov/codecov-action@v1
47
+ with :
48
+ file : lcov.info
49
+ docs :
50
+ name : Documentation
51
+ runs-on : ubuntu-latest
52
+ steps :
53
+ - uses : actions/checkout@v2
54
+ - uses : julia-actions/setup-julia@v1
55
+ with :
56
+ version : ' 1'
57
+ - run : |
58
+ julia --project=docs -e '
59
+ using Pkg
60
+ Pkg.develop(PackageSpec(path=pwd()))
61
+ Pkg.instantiate()'
62
+ - run : |
63
+ julia --project=docs -e '
64
+ using Documenter: doctest
65
+ using SpatialGraphs
66
+ doctest(SpatialGraphs)'
67
+ - run : julia --project=docs docs/make.jl
68
+ env :
69
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
70
+ DOCUMENTER_KEY : ${{ secrets.DOCUMENTER_KEY }}
Original file line number Diff line number Diff line change
1
+
2
+ name : TagBot
3
+ on :
4
+ issue_comment :
5
+ types :
6
+ - created
7
+ workflow_dispatch :
8
+ jobs :
9
+ TagBot :
10
+ if : github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : JuliaRegistries/TagBot@v1
14
+ with :
15
+ token : ${{ secrets.GITHUB_TOKEN }}
16
+ ssh : ${{ secrets.DOCUMENTER_KEY }}
You can’t perform that action at this time.
0 commit comments