-
Notifications
You must be signed in to change notification settings - Fork 8
37 lines (37 loc) · 1.11 KB
/
aqua.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: aqua-lint
on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: julia-actions/setup-julia@latest
with:
version: '1'
- uses: actions/checkout@v3
- name: Aqua
shell: julia --color=yes {0}
run: |
using Pkg
Pkg.add(PackageSpec(name="Aqua"))
Pkg.develop(PackageSpec(path=pwd()))
using MutableArithmetics, Aqua
# Skip ambiguity test for now
Aqua.test_all(
MutableArithmetics;
ambiguities = (
exclude = [
# TODO(odow): These ones are suspect, and may be bugs.
MutableArithmetics.LinearAlgebra.mul!,
# These ones are probably safe to ignore because there are
# only called internally.
MutableArithmetics.buffered_operate_fallback!,
MutableArithmetics.buffered_operate_to_fallback!,
MutableArithmetics.promote_operation_fallback,
],
),
)