Skip to content

extension-tests

extension-tests #23

name: extension-tests
on:
workflow_dispatch:
jobs:
test-ubuntu:
name: ${{ matrix.package }}
runs-on: ubuntu-latest
env:
PACKAGE: ${{ matrix.package }}
strategy:
fail-fast: false
matrix:
include:
- package: 'Alpine'
- package: 'BilevelJuMP'
- package: 'InfiniteOpt'
- package: 'LinearFractional'
- package: 'Plasmo'
- package: 'PolyJuMP'
- package: 'PowerModels'
- package: 'SDDP'
- package: 'SetProg'
- package: 'SparseVariables'
- package: 'SumOfSquares'
- package: 'UnitJuMP'
steps:
- uses: actions/checkout@v3
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- 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: Test
shell: julia --color=yes {0}
run: |
import Pkg
Pkg.develop(Pkg.PackageSpec(; path = pwd()))
Pkg.develop(ENV["PACKAGE"])
Pkg.test(ENV["PACKAGE"])