Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ Enzyme = "0.13"
EnzymeCore = "0.8"
FunctionWrappers = "1.1.2"
Mooncake = "0.5"
PrecompileTools = "1"
PrecompileTools = "1.1"
SafeTestsets = "0.1, 1"
SciMLTesting = "1"
Test = "1"
TruncatedStacktraces = "1.1"
julia = "1.10"

Expand Down
4 changes: 2 additions & 2 deletions src/FunctionWrappersWrappers.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module FunctionWrappersWrappers

using FunctionWrappers
using FunctionWrappers: FunctionWrappers
import TruncatedStacktraces

export FunctionWrappersWrapper, unwrap, wrapped_signatures, wrapped_return_types
Expand Down Expand Up @@ -303,7 +303,7 @@ end
# Precompilation
# ============================================================================

using PrecompileTools
using PrecompileTools: @compile_workload, @setup_workload

@setup_workload begin
@compile_workload begin
Expand Down
18 changes: 18 additions & 0 deletions test/qa/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[deps]
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
FunctionWrappersWrappers = "77dc65aa-8811-40c2-897b-53d922fa7daf"
JET = "c3a54625-cd67-489e-a8e7-0a5a0ff4e31b"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
SciMLTesting = "09d9d899-5365-40a9-917a-5f67fddea283"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[sources]
FunctionWrappersWrappers = {path = "../.."}

[compat]
Aqua = "0.8"
JET = "0.9, 0.10, 0.11"
SafeTestsets = "0.0.1, 0.1, 1"
SciMLTesting = "1.6"
Test = "1"
julia = "1.10"
17 changes: 17 additions & 0 deletions test/qa/qa.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using SciMLTesting, FunctionWrappersWrappers, Test
using JET

run_qa(
FunctionWrappersWrappers;
explicit_imports = true,
ei_kwargs = (;
# Qualified accesses to names that are not (yet) declared `public` in their
# owning module: `Base.tail`, `FunctionWrappers.FunctionWrapper`, and
# `TruncatedStacktraces.@truncate_stacktrace`. These are core, long-standing
# API of Base / FunctionWrappers / TruncatedStacktraces that predate the
# `public` keyword; ignore until those packages mark them public.
all_qualified_accesses_are_public = (;
ignore = (:tail, :FunctionWrapper, Symbol("@truncate_stacktrace")),
),
),
)
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ run_tests(;
include(joinpath(@__DIR__, "shared", "bigfloat_unionall_tests.jl"))
end
end,
qa = (; env = joinpath(@__DIR__, "qa"), body = joinpath(@__DIR__, "qa", "qa.jl")),
groups = Dict(
"nopre" => (;
env = joinpath(@__DIR__, "nopre"),
Expand Down
3 changes: 3 additions & 0 deletions test/test_groups.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[Core]
versions = ["lts", "1", "pre"]

[QA]
versions = ["lts", "1"]

[nopre]
versions = ["lts", "1"]

Expand Down
Loading