Skip to content

Commit b8b5466

Browse files
authored
Add a workflow Aqua.yml (#137)
1 parent f57b004 commit b8b5466

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
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@v3
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)"

Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,12 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
1313
SparseMatricesCOO = "fa32481b-f100-4b48-8dc8-c62f61b13870"
1414

1515
[compat]
16+
LinearAlgebra = "1.6"
1617
LinearOperators = "2.2.2, 2.3"
1718
NLPModels = "0.18, 0.19, 0.20, 0.21"
1819
NLPModelsModifiers = "0.6, 0.7"
1920
Requires = "0.3, 0.4, 0.5, 1.0"
2021
SolverCore = "0.3"
22+
SparseArrays = "1.6"
2123
SparseMatricesCOO = "0.1.1, 0.2"
22-
julia = "^1.0.0"
24+
julia = "1.6"

0 commit comments

Comments
 (0)