Skip to content

Commit 8b560c0

Browse files
committed
Update solver-tests.yml
1 parent 5c051ef commit 8b560c0

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/solver-tests.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,15 @@ jobs:
9191
- name: Test
9292
shell: julia --color=yes {0}
9393
run: |
94-
if ENV["PACKAGE"] == "Xpress"
95-
write("xpauth.xpr", ENV["XPAUTH_XPR"])
96-
ENV["XPAUTH_PATH"] = joinpath(pwd(), "xpauth.xpr")
97-
end
9894
import Pkg
9995
Pkg.develop(Pkg.PackageSpec(; path = pwd()))
96+
if ENV["PACKAGE"] == "Xpress"
97+
write("/opt/xpauth.xpr", ENV["XPAUTH_XPR"])
98+
ENV["XPAUTH_PATH"] = "/opt/xpauth.xpr"
99+
ENV["XPRESS_JL_SKIP_LIB_CHECK"] = true
100+
end
100101
Pkg.develop(ENV["PACKAGE"])
102+
Pkg.build(ENV["PACKAGE"])
101103
Pkg.test(ENV["PACKAGE"])
102104
test-cplex:
103105
name: ${{ matrix.package }}

0 commit comments

Comments
 (0)