Skip to content

Commit e2a7798

Browse files
authored
Update solver-tests.yml to fix Xpress
1 parent 85a1db5 commit e2a7798

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/solver-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ jobs:
1212
env:
1313
PACKAGE: ${{ matrix.package }}
1414
XPRESS_JL_SKIP_LIB_CHECK: "true"
15+
# It's okay to share this secret with other packages because it is the public
16+
# community-xpauth.xpr and not something confidential to JuMP-dev.
17+
XPAUTH_XPR: ${{ secrets.XPAUTH_XPR }}
1518
strategy:
1619
fail-fast: false
1720
matrix:
@@ -88,6 +91,9 @@ jobs:
8891
- name: Test
8992
shell: julia --color=yes {0}
9093
run: |
94+
if ENV["PACKAGE"] == "Xpress"
95+
write("xpauth.xpr", ENV["XPAUTH_XPR"])
96+
end
9197
import Pkg
9298
Pkg.develop(Pkg.PackageSpec(; path = pwd()))
9399
Pkg.develop(ENV["PACKAGE"])

0 commit comments

Comments
 (0)