77
88jobs :
99 test :
10- name : ${{ matrix.package.repo }}
10+ name : ${{ matrix.package.name }}
1111 runs-on : ${{ matrix.os }}
1212 strategy :
1313 fail-fast : false
1414 matrix :
1515 julia-version : [1]
1616 os : [ubuntu-latest]
1717 package :
18- - {user: JuliaDiff, repo : ChainRulesTestUtils.jl }
19- - {user: JuliaDiff, repo : ChainRules.jl }
20- - {user: JuliaMath, repo : SpecialFunctions.jl }
21- - {user: invenia, repo : BlockDiagonals.jl }
22- - {user: invenia, repo : PDMatsExtras.jl }
23- - {user: PumasAI, repo : DataInterpolations.jl }
18+ - {user: JuliaDiff, name : ChainRulesTestUtils}
19+ - {user: JuliaDiff, name : ChainRules}
20+ - {user: JuliaMath, name : SpecialFunctions}
21+ - {user: JuliaArrays, name : BlockDiagonals}
22+ - {user: invenia, name : PDMatsExtras}
23+ - {user: SciML, name : DataInterpolations}
2424
2525 steps :
2626 - uses : actions/checkout@v4
@@ -32,17 +32,17 @@ jobs:
3232 - name : Clone Downstream
3333 uses : actions/checkout@v4
3434 with :
35- repository : ${{ matrix.package.user }}/${{ matrix.package.repo }}
35+ repository : ${{ matrix.package.user }}/${{ matrix.package.name }}.jl
3636 path : downstream
3737 - name : Load this and run the downstream tests
38- shell : julia --project=downstream {0}
38+ shell : julia --project=@temp {0}
3939 run : |
4040 using Pkg
4141 try
4242 # force it to use this PR's version of the package
43- Pkg.develop(PackageSpec(path=".")) # ResolverError with main deps may be thrown here
43+ Pkg.develop([ PackageSpec(path="."), PackageSpec(path="downstream")] ) # ResolverError with main deps may be thrown here
4444 Pkg.update()
45- Pkg.test() # ResolverError with test deps may be thrown here (before test process starts)
45+ Pkg.test("${{ matrix.package.name }}" ) # ResolverError with test deps may be thrown here (before test process starts)
4646 catch err
4747 err isa Pkg.Resolve.ResolverError || rethrow()
4848 # If we can't resolve that means this is incompatible by SemVer and this is fine
0 commit comments