-
-
Notifications
You must be signed in to change notification settings - Fork 398
43 lines (43 loc) · 1.21 KB
/
extension-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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: 'DisjunctiveProgramming'
- package: 'InfiniteOpt'
- package: 'LinearFractional'
- package: 'PiecewiseAffineApprox'
- package: 'PiecewiseLinearOpt'
- package: 'Plasmo'
- package: 'PolyJuMP'
- package: 'PowerModels'
- package: 'SDDP'
- package: 'SetProg'
- package: 'SparseVariables'
- package: 'SumOfSquares'
- package: 'TimeStruct'
- package: 'UnitJuMP'
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: julia-actions/cache@v1
- 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"])