File tree Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Expand file tree Collapse file tree 2 files changed +47
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : IntegrationTest
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+
9
+ jobs :
10
+ test :
11
+ name : ${{ matrix.package.repo }}
12
+ runs-on : ubuntu-latest
13
+ strategy :
14
+ fail-fast : false
15
+ matrix :
16
+ package :
17
+ - {user: TuringLang, repo: DynamicPPL.jl}
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - uses : julia-actions/setup-julia@v1
21
+ with :
22
+ version : 1
23
+ arch : x64
24
+ - uses : julia-actions/julia-buildpkg@latest
25
+ - name : Clone Downstream
26
+ uses : actions/checkout@v2
27
+ with :
28
+ repository : ${{ matrix.package.user }}/${{ matrix.package.repo }}
29
+ path : downstream
30
+ - name : Load this and run the downstream tests
31
+ shell : julia --color=yes --project=downstream {0}
32
+ run : |
33
+ using Pkg
34
+ try
35
+ # force it to use this PR's version of the package
36
+ Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps
37
+ Pkg.update()
38
+ Pkg.test() # resolver may fail with test time deps
39
+ catch err
40
+ err isa Pkg.Resolve.ResolverError || rethrow()
41
+ # If we can't resolve that means this is incompatible by SemVer and this is fine
42
+ # It means we marked this as a breaking change, so we don't need to worry about
43
+ # Mistakenly introducing a breaking change, as we have intentionally made one
44
+ @info "Not compatible with this release. No problem." exception=err
45
+ exit(0) # Exit immediately, as a success
46
+ end
Original file line number Diff line number Diff line change 1
1
# AbstractPPL.jl
2
2
3
3
[ ![ CI] ( https://github.com/TuringLang/AbstractPPL.jl/workflows/CI/badge.svg?branch=master )] ( https://github.com/TuringLang/AbstractPPL.jl/actions?query=workflow%3ACI+branch%3Amaster )
4
+ [ ![ IntegrationTest] ( https://github.com/TuringLang/AbstractPPL.jl/workflows/IntegrationTest/badge.svg?branch=master )] ( https://github.com/TuringLang/AbstractPPL.jl/actions?query=workflow%3AIntegrationTest+branch%3Amaster )
4
5
[ ![ Coverage Status] ( https://coveralls.io/repos/github/TuringLang/AbstractPPL.jl/badge.svg?branch=master )] ( https://coveralls.io/github/TuringLang/AbstractPPL.jl?branch=master )
5
6
[ ![ Codecov] ( https://codecov.io/gh/TuringLang/AbstractPPL.jl/branch/master/graph/badge.svg )] ( https://codecov.io/gh/TuringLang/AbstractPPL.jl )
6
7
You can’t perform that action at this time.
0 commit comments