Skip to content

Commit

Permalink
Update solver-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
odow committed Jun 24, 2024
1 parent 5c051ef commit 8b560c0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/solver-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,15 @@ jobs:
- name: Test
shell: julia --color=yes {0}
run: |
if ENV["PACKAGE"] == "Xpress"
write("xpauth.xpr", ENV["XPAUTH_XPR"])
ENV["XPAUTH_PATH"] = joinpath(pwd(), "xpauth.xpr")
end
import Pkg
Pkg.develop(Pkg.PackageSpec(; path = pwd()))
if ENV["PACKAGE"] == "Xpress"
write("/opt/xpauth.xpr", ENV["XPAUTH_XPR"])
ENV["XPAUTH_PATH"] = "/opt/xpauth.xpr"
ENV["XPRESS_JL_SKIP_LIB_CHECK"] = true
end
Pkg.develop(ENV["PACKAGE"])
Pkg.build(ENV["PACKAGE"])
Pkg.test(ENV["PACKAGE"])
test-cplex:
name: ${{ matrix.package }}
Expand Down

0 comments on commit 8b560c0

Please sign in to comment.