Skip to content

Commit cb3c1e3

Browse files
committed
try this
1 parent b75a786 commit cb3c1e3

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/Downstream.yml

+1-9
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,6 @@ jobs:
4747
# Explicitly develop the libraries first before running the tests for now.
4848
# This is necessary since the tests are likely to fail otherwise, given that all
4949
# the libs haven't been registered yet.
50-
- name: "Develop the libraries since they haven't been registered yet"
51-
shell: julia --project=. {0}
52-
run: |
53-
import Pkg
54-
Pkg.Registry.update()
55-
# Install packages present in subdirectories
56-
dev_pks = Pkg.PackageSpec[]
57-
Pkg.develop(map(path -> Pkg.PackageSpec.(;path="lib/$(path)"), readdir("./lib")));
58-
Pkg.instantiate()
5950
- name: Clone Downstream
6051
uses: actions/checkout@v4
6152
with:
@@ -67,6 +58,7 @@ jobs:
6758
using Pkg
6859
try
6960
# force it to use this PR's version of the package
61+
Pkg.develop(map(path ->Pkg.PackageSpec.(;path="$(@__DIR__)/lib/$(path)"), readdir("./lib")));
7062
Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps
7163
Pkg.update()
7264
Pkg.test(coverage=true) # resolver may fail with test time deps

0 commit comments

Comments
 (0)