Skip to content

Commit

Permalink
Create a Aqua workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Oct 11, 2022
1 parent c88e3e2 commit 4416fa1
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 9 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/Aqua.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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: julia --color=yes -e '
using Pkg
Pkg.add("Aqua")
Pkg.develop(path=".")
using Aqua, Krylov
Aqua.test_all(Krylov)'
2 changes: 1 addition & 1 deletion .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
version: '1'
- name: Install dependencies
run: julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
run: julia --project=docs --color=yes -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 1 addition & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
julia = "^1.6.0"

[extras]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Aqua", "Random", "Test"]
test = ["Random", "Test"]
4 changes: 0 additions & 4 deletions test/aqua.jl

This file was deleted.

2 changes: 0 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
using Krylov, LinearAlgebra, SparseArrays, Printf, Random, Test
import Krylov.KRYLOV_SOLVERS

include("aqua.jl")

include("test_utils.jl")
include("test_aux.jl")
include("test_stats.jl")
Expand Down

0 comments on commit 4416fa1

Please sign in to comment.