Skip to content

Commit

Permalink
Merge pull request #2555 from jClugstor/Downstream_CI_Fix
Browse files Browse the repository at this point in the history
Match NonlinearSolve Downstream CI
  • Loading branch information
ChrisRackauckas authored Dec 11, 2024
2 parents e5b3399 + 41c5c16 commit 4b29bab
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/Downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +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"
run: |
julia --project=. -e '
using Pkg;
Pkg.develop(map(path ->Pkg.PackageSpec.(;path="$(@__DIR__)/lib/$(path)"), readdir("./lib")));
'
- name: Clone Downstream
uses: actions/checkout@v4
with:
Expand All @@ -64,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="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 All @@ -80,4 +75,4 @@ jobs:
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: lcov.info
fail_ci_if_error: true
fail_ci_if_error: false

0 comments on commit 4b29bab

Please sign in to comment.