Skip to content

Commit dc4c3e5

Browse files
committed
Add a workflow Aqua.yml
1 parent 8a47b70 commit dc4c3e5

File tree

1 file changed

+20
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)