Skip to content

Commit

Permalink
Add a workflow Aqua.yml (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison authored Dec 8, 2024
1 parent f57b004 commit b8b5466
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/Aqua.yml
Original file line number Diff line number Diff line change
@@ -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@v3
- 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, piracies=false)"
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,12 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
SparseMatricesCOO = "fa32481b-f100-4b48-8dc8-c62f61b13870"

[compat]
LinearAlgebra = "1.6"
LinearOperators = "2.2.2, 2.3"
NLPModels = "0.18, 0.19, 0.20, 0.21"
NLPModelsModifiers = "0.6, 0.7"
Requires = "0.3, 0.4, 0.5, 1.0"
SolverCore = "0.3"
SparseArrays = "1.6"
SparseMatricesCOO = "0.1.1, 0.2"
julia = "^1.0.0"
julia = "1.6"

0 comments on commit b8b5466

Please sign in to comment.