Use throw_if_scalar_and_constant_not_zero when appropriate #3354
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v4 | |
- name: Aqua | |
shell: julia --color=yes {0} | |
run: | | |
using Pkg | |
Pkg.add(PackageSpec(name="Aqua")) | |
Pkg.develop(PackageSpec(path=pwd())) | |
using MathOptInterface, Aqua | |
Aqua.test_all(MathOptInterface; ambiguities = false) |