Skip to content

Commit

Permalink
Add a workflow for unit tests with Aqua.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Jan 24, 2025
1 parent 3f8b88b commit b4fd21f
Showing 1 changed file with 20 additions and 0 deletions.
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@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)"

0 comments on commit b4fd21f

Please sign in to comment.