Skip to content

Prep for v1.2.1 (#180) #272

Prep for v1.2.1 (#180)

Prep for v1.2.1 (#180) #272

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@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- 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"))