Skip to content

Fix compat. Allow newer Aqua. Only run Aqua on repo tests.#471

Merged
DilumAluthge merged 3 commits intoJuliaSparse:mainfrom
IanButterworth:ib/fix_compat
Nov 15, 2023
Merged

Fix compat. Allow newer Aqua. Only run Aqua on repo tests.#471
DilumAluthge merged 3 commits intoJuliaSparse:mainfrom
IanButterworth:ib/fix_compat

Conversation

@IanButterworth
Copy link
Copy Markdown
Contributor

No description provided.

@IanButterworth IanButterworth changed the title Fix compat. Allow newer Aqua Fix compat. Allow newer Aqua. Only run Aqua on repo tests. Nov 15, 2023
# This file is a part of Julia. License is MIT: https://julialang.org/license
using Test, LinearAlgebra, SparseArrays

if Base.get_bool_env("SPARSEARRAYS_AQUA_TEST", false)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be easier to just use

Suggested change
if Base.get_bool_env("SPARSEARRAYS_AQUA_TEST", false)
if get(ENV, "SPARSEARRAYS_AQUA_TEST", nothing) === "true"

since this isn't something people will configure in general (and thus not forget whether it is 1 or true).

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7786a73) 85.66% compared to head (a070833) 85.66%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #471   +/-   ##
=======================================
  Coverage   85.66%   85.66%           
=======================================
  Files          13       13           
  Lines        8861     8861           
=======================================
  Hits         7591     7591           
  Misses       1270     1270           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@DilumAluthge
Copy link
Copy Markdown
Member

I think it's fine to run Aqua.jl in Base Julia Buildkite CI, we just need to make sure we respect the [compat] entry when we do the Pkg.add in Buildkite. E.g. #472

@IanButterworth
Copy link
Copy Markdown
Contributor Author

We need to merge something. Can you make the call @DilumAluthge

@DilumAluthge
Copy link
Copy Markdown
Member

Let's do this for now.

@DilumAluthge DilumAluthge merged commit f154de2 into JuliaSparse:main Nov 15, 2023
@DilumAluthge
Copy link
Copy Markdown
Member

We can return to running Aqua.jl in Buildkite later. For now, since everything is failing on Buildkite Julia master, let's get this PR deployed.

@DilumAluthge
Copy link
Copy Markdown
Member

@DilumAluthge
Copy link
Copy Markdown
Member

BumpStdlibs PR: JuliaLang/julia#52183

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants