Skip to content

Commit 32d030c

Browse files
authored
Merge pull request #1143 from JuliaLang/aqua
Add Aqua to the test suite
2 parents 4a5d51b + 92682f5 commit 32d030c

File tree

5 files changed

+23
-6
lines changed

5 files changed

+23
-6
lines changed

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
julia-version: ['1.6', '1']
14+
julia-version: ['1.10', '1']
1515
julia-arch: [x64]
1616
os: [ubuntu-latest, windows-latest, macOS-13]
1717
include:

Project.toml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Conda = "8f4d0f93-b110-5947-807f-2305c1781a2d"
88
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
99
InteractiveUtils = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
1010
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
11-
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
1211
Logging = "56ddb016-857b-54e1-b83d-db4d58db5568"
1312
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
1413
MbedTLS = "739be429-bea8-5141-9913-cc70e7f3736d"
@@ -17,14 +16,23 @@ Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1716
REPL = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
1817
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
1918
SoftGlobalScope = "b85f4697-e234-5449-a836-ec8e2f98b302"
20-
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2119
UUIDs = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
2220
ZMQ = "c2297ded-f4af-51ae-bb23-16f91089e4e1"
2321

2422
[compat]
23+
Base64 = "1"
2524
Conda = "1"
25+
Dates = "1"
26+
InteractiveUtils = "1"
2627
JSON = "0.18,0.19,0.20,0.21,1"
28+
Logging = "1"
29+
Markdown = "1"
2730
MbedTLS = "0.5,0.6,0.7,1"
31+
Pkg = "1"
32+
Printf = "1"
33+
REPL = "1"
34+
Random = "1"
2835
SoftGlobalScope = "1"
36+
UUIDs = "1"
2937
ZMQ = "1.3"
3038
julia = "1.10"

src/heartbeat.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
# call in libzmq, which simply blocks forever, so the usual lack of
55
# thread safety in Julia should not be an issue here.
66

7-
import Libdl
8-
97
const threadid = zeros(Int, 128) # sizeof(uv_thread_t) <= 8 on Linux, OSX, Win
108

119
# entry point for new thread

test/Project.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[deps]
2+
Aqua = "4c88cf16-eb10-579e-8560-4a9242c79595"
3+
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
4+
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
5+
JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
6+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

test/runtests.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1+
import Aqua
2+
import IJulia
3+
14
const TEST_FILES = [
25
"install.jl", "comm.jl", "msg.jl", "execute_request.jl", "stdio.jl",
3-
"inline.jl",
6+
"inline.jl"
47
]
58

69
for file in TEST_FILES
710
println(file)
811
include(file)
912
end
13+
14+
Aqua.test_all(IJulia; piracies=(; broken=true))

0 commit comments

Comments
 (0)