@@ -13,53 +13,54 @@ concurrency:
1313
1414jobs :
1515 test :
16- name : ${{ matrix.package.repo }}
16+ name : ${{ matrix.package.name }}
1717 runs-on : ${{ matrix.os }}
1818 strategy :
1919 fail-fast : false
2020 matrix :
2121 julia-version : [1]
2222 os : [ubuntu-latest]
2323 package :
24- - {user: JuliaDiff, repo : ChainRules.jl }
25- - {user: JuliaDiff, repo : ChainRulesTestUtils.jl }
26- - {user: JuliaDiff, repo : ChainRulesOverloadGeneration.jl }
27- - {user: JuliaMath, repo : SpecialFunctions.jl }
28- - {user: invenia, repo : BlockDiagonals.jl }
29- - {user: invenia, repo : PDMatsExtras.jl }
30- - {user: chrisbrahms, repo : Hankel.jl }
31- - {user: SciML, repo : DiffEqBase.jl }
32- - {user: SciML, repo : DataInterpolations.jl }
33- - {user: dfdx, repo : Yota.jl }
34- - {user: JuliaStats, repo : StatsFuns.jl }
35- - {user: JuliaStats, repo : LogExpFunctions.jl }
24+ - {user: JuliaDiff, name : ChainRules}
25+ - {user: JuliaDiff, name : ChainRulesTestUtils}
26+ - {user: JuliaDiff, name : ChainRulesOverloadGeneration}
27+ - {user: JuliaMath, name : SpecialFunctions}
28+ - {user: invenia, name : BlockDiagonals}
29+ - {user: invenia, name : PDMatsExtras}
30+ - {user: chrisbrahms, name : Hankel}
31+ - {user: SciML, name : DiffEqBase}
32+ - {user: SciML, name : DataInterpolations}
33+ - {user: dfdx, name : Yota}
34+ - {user: JuliaStats, name : StatsFuns}
35+ - {user: JuliaStats, name : LogExpFunctions}
3636 # Diffractor needs to run on Julia nightly
3737 include :
3838 - julia-version : nightly
3939 os : ubuntu-latest
40- package : {user: JuliaDiff, repo : Diffractor.jl }
40+ package : {user: JuliaDiff, name : Diffractor}
4141
4242 steps :
4343 - uses : actions/checkout@v6
4444 - uses : julia-actions/setup-julia@v2
4545 with :
4646 version : ${{ matrix.julia-version }}
4747 arch : x64
48+ - uses : julia-actions/cache@v3
4849 - uses : julia-actions/julia-buildpkg@v1
4950 - name : Clone Downstream
5051 uses : actions/checkout@v6
5152 with :
52- repository : ${{ matrix.package.user }}/${{ matrix.package.repo }}
53+ repository : ${{ matrix.package.user }}/${{ matrix.package.name }}.jl
5354 path : downstream
5455 - name : Load this and run the downstream tests
55- shell : julia --project=downstream {0}
56+ shell : julia --project=@temp {0}
5657 run : |
5758 using Pkg
5859 try
5960 # force it to use this PR's version of the package
60- Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps
61+ Pkg.develop([ PackageSpec(path="."), PackageSpec(path="downstream")] ) # resolver may fail with main deps
6162 Pkg.update()
62- Pkg.test() # resolver may fail with test time deps
63+ Pkg.test("${{ matrix.package.name }}" ) # resolver may fail with test time deps
6364 catch err
6465 err isa Pkg.Resolve.ResolverError || rethrow()
6566 # If we can't resolve that means this is incompatible by SemVer and this is fine
0 commit comments