Skip to content

Commit

Permalink
Update solver-tests.yml to fix Xpress
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Jun 24, 2024
1 parent 85a1db5 commit e2a7798
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/solver-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
env:
PACKAGE: ${{ matrix.package }}
XPRESS_JL_SKIP_LIB_CHECK: "true"
# It's okay to share this secret with other packages because it is the public
# community-xpauth.xpr and not something confidential to JuMP-dev.
XPAUTH_XPR: ${{ secrets.XPAUTH_XPR }}
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -88,6 +91,9 @@ jobs:
- name: Test
shell: julia --color=yes {0}
run: |
if ENV["PACKAGE"] == "Xpress"
write("xpauth.xpr", ENV["XPAUTH_XPR"])
end
import Pkg
Pkg.develop(Pkg.PackageSpec(; path = pwd()))
Pkg.develop(ENV["PACKAGE"])
Expand Down

0 comments on commit e2a7798

Please sign in to comment.