Skip to content

Commit a80362d

Browse files
committed
Fix circular dep
1 parent 9d03d1a commit a80362d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/Test.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,13 @@ jobs:
5151
Pkg.Registry.update();
5252
if "${{ matrix.pkg.name}}" == "DifferentiationInterfaceTest";
5353
Pkg.develop(PackageSpec(path="./DifferentiationInterface"));
54+
Pkg.instantiate();
5455
else;
56+
Pkg.activate(; temp=true);
5557
Pkg.develop(PackageSpec(path="./DifferentiationInterfaceTest"));
56-
end;
57-
Pkg.instantiate();'
58+
push!(Base.LOAD_PATH, Base.active_project());
59+
Pkg.instantiate();
60+
end;'
5861
- uses: julia-actions/julia-runtest@v1
5962
with:
6063
project: ${{ matrix.pkg.dir }}

DifferentiationInterface/test/formal.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ using DifferentiationInterface
33
using Documenter: Documenter
44
using JET: JET
55
using JuliaFormatter: JuliaFormatter
6+
using Test
67

78
@testset "Aqua" begin
89
Aqua.test_all(

0 commit comments

Comments
 (0)