File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 49
49
with :
50
50
repository : ${{ matrix.package.user }}/${{ matrix.package.repo }}
51
51
path : downstream
52
+ - name : Load this and run the downstream tests
53
+ shell : julia --color=yes --project=downstream {0}
54
+ run : |
55
+ using Pkg
56
+ try
57
+ Pkg.develop(map(path ->Pkg.PackageSpec.(;path="lib/$(path)"), readdir("./lib")));
58
+ Pkg.test(coverage=true) # resolver may fail with test time depsAdd commentMore actions
59
+ catch err
60
+ err isa Pkg.Resolve.ResolverError || rethrow()
61
+ # If we can't resolve that means this is incompatible by SemVer and this is fine
62
+ # It means we marked this as a breaking change, so we don't need to worry about
63
+ # mistakenly introducing a breaking change, as we have intentionally made one
64
+ @info "Not compatible with this release. No problem." exception=err
65
+ exit(0) # Exit immediately, as a success
66
+ end
52
67
- uses : julia-actions/julia-processcoverage@v1
53
68
- uses : codecov/codecov-action@v5
54
69
with :
You can’t perform that action at this time.
0 commit comments