Skip to content

Commit 0e7dc8d

Browse files
committed
Aqua
1 parent 761063f commit 0e7dc8d

File tree

3 files changed

+18
-2
lines changed

3 files changed

+18
-2
lines changed

Project.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OhMyThreads"
22
uuid = "67456a42-1dca-4109-a031-0a68de7e3ad5"
33
authors = ["Carsten Bauer <[email protected]>", "Mason Protter <[email protected]>"]
4-
version = "0.5"
4+
version = "0.5.0"
55

66
[deps]
77
BangBang = "198e06fe-97b7-11e9-32a5-e1d131e6ad66"
@@ -10,14 +10,17 @@ StableTasks = "91464d47-22a1-43fe-8b7f-2d57ee82463f"
1010
TaskLocalValues = "ed4db957-447d-4319-bfb6-7fa9ae7ecf34"
1111

1212
[compat]
13+
Aqua = "0.8"
1314
BangBang = "0.4"
1415
ChunkSplitters = "2.4"
1516
StableTasks = "0.1.5"
1617
TaskLocalValues = "0.1"
18+
Test = "1"
1719
julia = "1.6"
1820

1921
[extras]
22+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
2023
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2124

2225
[targets]
23-
test = ["Test"]
26+
test = ["Test", "Aqua"]

test/Aqua.jl

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
using Aqua
2+
3+
@testset "Aqua.jl" begin
4+
Aqua.test_all(
5+
OhMyThreads;
6+
# ambiguities=(exclude=[SomePackage.some_function], broken=true),
7+
# stale_deps=(ignore=[:SomePackage],),
8+
deps_compat=(ignore=[:Test],),
9+
# piracies=false,
10+
)
11+
end

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
using Test, OhMyThreads
22
using OhMyThreads: TaskLocalValue, WithTaskLocals, @fetch, promise_task_local
33

4+
include("Aqua.jl")
5+
46
sets_to_test = [(~ = isapprox, f = sin *, op = +,
57
itrs = (rand(ComplexF64, 10, 10), rand(-10:10, 10, 10)),
68
init = complex(0.0))

0 commit comments

Comments
 (0)