From 68696ce5055e789ac130e55d54b346bc58f0df83 Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Fri, 24 Jan 2025 14:12:16 -0600 Subject: [PATCH 1/3] Add a workflow for unit tests with Aqua.jl --- .github/workflows/Aqua.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/Aqua.yml diff --git a/.github/workflows/Aqua.yml b/.github/workflows/Aqua.yml new file mode 100644 index 0000000..22d1700 --- /dev/null +++ b/.github/workflows/Aqua.yml @@ -0,0 +1,20 @@ +name: Aqua +on: + push: + branches: + - main + pull_request: + types: [opened, synchronize, reopened] +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@latest + with: + version: '1' + - name: Aqua.jl + run: | + PKG_SRC_PATH=`pwd` + PKG_SRC_NAME=`basename -s ".jl" $PKG_SRC_PATH` + 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)" From afc0495b39dcef833967e743b30a0a390e5faf6a Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Fri, 24 Jan 2025 14:27:46 -0600 Subject: [PATCH 2/3] Update Project.toml --- Project.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 4821c9d..6dfe1ab 100644 --- a/Project.toml +++ b/Project.toml @@ -22,18 +22,23 @@ Combinatorics = "1.0" DataStructures = "0.18" JSON = "0.21" LazyArtifacts = "1.10" +LinearAlgebra = "1.10" NLPModels = "0.21.3" +NLPModelsTest = "0.10.2" Quadmath = "0.5.10" +REPL = "1.10" +Random = "1.10" SIFDecode_jll = "2.6.1" +SparseArrays = "1.10" +Test = "1.10" julia = "1.10" [extras] Combinatorics = "861a8166-3701-5b0c-9a16-15d98fcdc6aa" -LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" NLPModelsTest = "7998695d-6960-4d3a-85c4-e1bceb8cd856" Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] -test = ["Combinatorics", "LinearAlgebra", "NLPModelsTest", "Random", "SparseArrays", "Test"] +test = ["Combinatorics", "NLPModelsTest", "Random", "SparseArrays", "Test"] From 95486e6bb471180ac5ab6943a5988bd714a134da Mon Sep 17 00:00:00 2001 From: Alexis Montoison Date: Fri, 24 Jan 2025 14:41:36 -0600 Subject: [PATCH 3/3] Update again CUTEst.jl --- Project.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Project.toml b/Project.toml index 6dfe1ab..a861119 100644 --- a/Project.toml +++ b/Project.toml @@ -22,9 +22,11 @@ Combinatorics = "1.0" DataStructures = "0.18" JSON = "0.21" LazyArtifacts = "1.10" +Libdl = "1.10" LinearAlgebra = "1.10" NLPModels = "0.21.3" NLPModelsTest = "0.10.2" +Printf = "1.10" Quadmath = "0.5.10" REPL = "1.10" Random = "1.10"