Skip to content

Commit c521f70

Browse files
committed
Add CI
1 parent e9461cd commit c521f70

File tree

3 files changed

+56
-7
lines changed

3 files changed

+56
-7
lines changed

.github/workflows/CI.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
version:
13+
- '1.0'
14+
- '1.1'
15+
- '1.2'
16+
- '1.3'
17+
- '1.4'
18+
- '1.5'
19+
- '1.6'
20+
- '1.7'
21+
- '1.8'
22+
- '1.9'
23+
os:
24+
- ubuntu-latest
25+
arch:
26+
- x64
27+
steps:
28+
- uses: actions/checkout@v3
29+
- uses: julia-actions/setup-julia@v1
30+
with:
31+
version: ${{ matrix.version }}
32+
arch: ${{ matrix.arch }}
33+
- uses: julia-actions/cache@v1
34+
- uses: julia-actions/julia-buildpkg@v1
35+
- uses: julia-actions/julia-runtest@v1
36+
- uses: julia-actions/julia-processcoverage@v1
37+
- uses: codecov/codecov-action@v3
38+
with:
39+
file: lcov.info

.github/workflows/CompatHelper.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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: Pkg.add("CompatHelper")
11+
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12+
- name: CompatHelper.main()
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
COMPATHELPER_PRIV: ${{ secrets.DOCUMENTER_KEY }}
16+
run: julia -e 'using CompatHelper; CompatHelper.main()'

Project.toml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,10 @@ version = "2.0.0"
66
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
77

88
[compat]
9-
ChainRulesCore = "=1.0.2"
10-
MCMCDiagnosticTools = "=0.1.0"
11-
YAXArrays = "0.1.3"
129
julia = "1"
1310

1411
[extras]
15-
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"
16-
MCMCDiagnosticTools = "be115224-59cd-429b-ad48-344e309966f0"
1712
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
18-
YAXArrays = "c21b50f5-aa40-41ea-b809-c0f5e47bfa5c"
1913

2014
[targets]
21-
test = ["ChainRulesCore", "MCMCDiagnosticTools", "Test", "YAXArrays"]
15+
test = ["Test"]

0 commit comments

Comments
 (0)