Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
jClugstor committed Dec 10, 2024
1 parent b75a786 commit cb3c1e3
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/Downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,6 @@ jobs:
# Explicitly develop the libraries first before running the tests for now.
# This is necessary since the tests are likely to fail otherwise, given that all
# the libs haven't been registered yet.
- name: "Develop the libraries since they haven't been registered yet"
shell: julia --project=. {0}
run: |
import Pkg
Pkg.Registry.update()
# Install packages present in subdirectories
dev_pks = Pkg.PackageSpec[]
Pkg.develop(map(path -> Pkg.PackageSpec.(;path="lib/$(path)"), readdir("./lib")));
Pkg.instantiate()
- name: Clone Downstream
uses: actions/checkout@v4
with:
Expand All @@ -67,6 +58,7 @@ jobs:
using Pkg
try
# force it to use this PR's version of the package
Pkg.develop(map(path ->Pkg.PackageSpec.(;path="$(@__DIR__)/lib/$(path)"), readdir("./lib")));
Pkg.develop(PackageSpec(path=".")) # resolver may fail with main deps
Pkg.update()
Pkg.test(coverage=true) # resolver may fail with test time deps
Expand Down

0 comments on commit cb3c1e3

Please sign in to comment.