Skip to content

Commit 30004d1

Browse files
committed
fixup! Run integration tests in a temporary environment
1 parent 5411882 commit 30004d1

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/IntegrationTest.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ on:
77

88
jobs:
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: invenia, name: BlockDiagonals}
22+
- {user: invenia, name: PDMatsExtras}
23+
- {user: PumasAI, name: DataInterpolations}
2424

2525
steps:
2626
- uses: actions/checkout@v4
@@ -32,7 +32,7 @@ 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
3838
shell: julia --project=@temp {0}
@@ -43,7 +43,7 @@ jobs:
4343
# force it to use this PR's version of the package
4444
Pkg.develop(PackageSpec(path="downstream")) # ResolverError with main deps may be thrown here
4545
Pkg.update()
46-
Pkg.test() # ResolverError with test deps may be thrown here (before test process starts)
46+
Pkg.test("${{ matrix.package.name }}") # ResolverError with test deps may be thrown here (before test process starts)
4747
catch err
4848
err isa Pkg.Resolve.ResolverError || rethrow()
4949
# If we can't resolve that means this is incompatible by SemVer and this is fine

0 commit comments

Comments
 (0)