Skip to content

Commit b090d73

Browse files
committed
Add a workflow Aqua.yml
1 parent afe1ed0 commit b090d73

File tree

4 files changed

+39
-15
lines changed

4 files changed

+39
-15
lines changed

.github/workflows/Aqua.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Aqua
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
types: [opened, synchronize, reopened]
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: julia-actions/setup-julia@latest
14+
with:
15+
version: '1'
16+
- name: Aqua.jl
17+
run: |
18+
PKG_SRC_PATH=`pwd`
19+
PKG_SRC_NAME=`basename -s ".jl" $PKG_SRC_PATH`
20+
julia --color=yes -e "using Pkg; Pkg.add(\"Aqua\"); Pkg.develop(path=\"$PKG_SRC_PATH\"); using Aqua, $PKG_SRC_NAME; Aqua.test_all($PKG_SRC_NAME, piracies=false)"

.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
version: ['1.6', '1']
16+
version: ['lts', '1']
1717
os: [ubuntu-latest, macos-latest, windows-latest]
1818
arch: [x64]
1919
allow_failure: [false]
@@ -22,15 +22,19 @@ jobs:
2222
os: macos-latest
2323
arch: arm64
2424
allow_failure: false
25-
- version: 'nightly'
25+
- version: '1'
26+
os: ubuntu-24.04-arm
27+
arch: arm64
28+
allow_failure: false
29+
- version: 'pre'
2630
os: ubuntu-latest
2731
arch: x64
2832
allow_failure: true
29-
- version: 'nightly'
33+
- version: 'pre'
3034
os: macos-latest
3135
arch: x64
3236
allow_failure: true
33-
- version: 'nightly'
37+
- version: 'pre'
3438
os: windows-latest
3539
arch: x64
3640
allow_failure: true
@@ -40,7 +44,7 @@ jobs:
4044
with:
4145
version: ${{ matrix.version }}
4246
arch: ${{ matrix.arch }}
43-
- uses: actions/cache@v1
47+
- uses: actions/cache@v4
4448
env:
4549
cache-name: cache-artifacts
4650
with:

Project.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ SolverCore = "ff4d7338-4cf1-434d-91df-b86cb86fb843"
1212
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1313

1414
[compat]
15-
JuMP = "1.2"
16-
LinearAlgebra = "1.6"
17-
MathOptInterface = "1.17"
18-
NLPModels = "0.18, 0.19, 0.20, 0.21"
19-
Printf = "1.6"
15+
JuMP = "1.25"
16+
LinearAlgebra = "1.10"
17+
MathOptInterface = "1.40"
18+
NLPModels = "0.21.5"
19+
Printf = "1.10"
2020
SolverCore = "0.3"
21-
SparseArrays = "1.6"
22-
julia = "1.6"
21+
SparseArrays = "1.10"
22+
julia = "1.10"
2323

2424
[extras]
2525
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

docs/Project.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ OptimizationProblems = "5049e819-d29b-5fba-b941-0eee7e64c1c6"
66

77
[compat]
88
Documenter = "1.0"
9-
JuMP = "1.2 - 1.14.1"
10-
NLPModels = "0.20"
11-
OptimizationProblems = "0.7"
9+
JuMP = "1.25"
10+
NLPModels = "0.21.5"
11+
OptimizationProblems = "0.9"

0 commit comments

Comments
 (0)