Skip to content

Fix callback with MINLP and hidden variables #114

Fix callback with MINLP and hidden variables

Fix callback with MINLP and hidden variables #114

Workflow file for this run

name: MINLPTests
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
# needed to allow julia-actions/cache to delete old caches that it has created
permissions:
actions: write
contents: read
jobs:
test:
name: Julia 1 - ${{ github.event_name }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
arch: 'x64'
- uses: julia-actions/cache@v2
- shell: bash
run: echo "${{ secrets.GUROBI_LICENSE }}" > ~/gurobi.lic
- shell: julia --project=. --color=yes {0}
run: |
import Pkg
Pkg.add(; name = "Gurobi_jll", version = "12.0.1")
- uses: julia-actions/julia-buildpkg@v1
- shell: julia --color=yes {0}
run: |
path = joinpath(ENV["GITHUB_WORKSPACE"], "test", "MINLPTests")
cd(path)
using Pkg
Pkg.activate(".")
Pkg.instantiate()
Pkg.add(Pkg.PackageSpec(; path = ENV["GITHUB_WORKSPACE"]))
include(joinpath(path, "runtests.jl"))