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