Skip to content

Add CI tests for variants #2

Add CI tests for variants

Add CI tests for variants #2

Workflow file for this run

name: variants
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
name: ${{ matrix.variant }} - ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
variant: ['jump-nl', 'jump-smybolic-ad', 'optimization-cs-asrd']
version: ['1']
os: [ubuntu-latest]
arch: [x64]
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: install
shell: julia --color=yes --project=variants {0}
run: |
using Pkg
Pkg.instantiate()
- name: test
with:
MODELING_FRAMEWORK: ${{ matrix.variant }}
run: julia --color=yes --project=variants variants/runtests.jl

Check failure on line 33 in .github/workflows/variants.yml

View workflow run for this annotation

GitHub Actions / variants

Invalid workflow file

The workflow is not valid. .github/workflows/variants.yml (Line: 33, Col: 9): Unexpected value 'run' .github/workflows/variants.yml (Line: 30, Col: 9): Required property is missing: uses