Skip to content

Commit 3b2fddf

Browse files
authored
Add a workflow for unit tests with Aqua.jl (#438)
* Add a workflow for unit tests with Aqua.jl * Update Project.toml * Update again CUTEst.jl
1 parent ec90cb2 commit 3b2fddf

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

.github/workflows/Aqua.yml

+20
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)"

Project.toml

+9-2
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,25 @@ Combinatorics = "1.0"
2222
DataStructures = "0.18"
2323
JSON = "0.21"
2424
LazyArtifacts = "1.10"
25+
Libdl = "1.10"
26+
LinearAlgebra = "1.10"
2527
NLPModels = "0.21.3"
28+
NLPModelsTest = "0.10.2"
29+
Printf = "1.10"
2630
Quadmath = "0.5.10"
31+
REPL = "1.10"
32+
Random = "1.10"
2733
SIFDecode_jll = "2.6.1"
34+
SparseArrays = "1.10"
35+
Test = "1.10"
2836
julia = "1.10"
2937

3038
[extras]
3139
Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa"
32-
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
3340
NLPModelsTest = "7998695d-6960-4d3a-85c4-e1bceb8cd856"
3441
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
3542
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
3643
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
3744

3845
[targets]
39-
test = ["Combinatorics", "LinearAlgebra", "NLPModelsTest", "Random", "SparseArrays", "Test"]
46+
test = ["Combinatorics", "NLPModelsTest", "Random", "SparseArrays", "Test"]

0 commit comments

Comments
 (0)