Skip to content

Update versions in GitHub actions #273

Update versions in GitHub actions

Update versions in GitHub actions #273

Workflow file for this run

name: MINLPTests
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version: ['1']
os: [ubuntu-latest, macOS-latest, windows-latest]
arch: ['x64']
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: julia-actions/cache@v1
- uses: julia-actions/julia-buildpkg@v1
- name:
shell: julia --color=yes {0}
run: |
amplnlwriter = ENV["GITHUB_WORKSPACE"]
path = joinpath(amplnlwriter, "test", "MINLPTests")
cd(path)
using Pkg
Pkg.activate(".")
Pkg.instantiate()
Pkg.add(PackageSpec(path=amplnlwriter))
include(joinpath(path, "run_minlptests.jl"))