From 9c9ffe462eb2f92912789c21589440ba4d0a8b4d Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Mon, 24 Jun 2024 17:00:06 +1200 Subject: [PATCH] Update solver-tests.yml --- .github/workflows/solver-tests.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/solver-tests.yml b/.github/workflows/solver-tests.yml index db039fae6d..5dfad37e4c 100644 --- a/.github/workflows/solver-tests.yml +++ b/.github/workflows/solver-tests.yml @@ -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 }}