File tree 2 files changed +14
-6
lines changed
2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,16 @@ jobs:
14
14
- ' pre'
15
15
os :
16
16
- ubuntu-latest
17
- - macos-latest
18
17
- windows-latest
19
18
arch :
20
19
- x64
20
+ include :
21
+ - os : macos-latest
22
+ arch : aarch64
23
+ version : ' 1.10'
24
+ - os : macos-latest
25
+ arch : aarch64
26
+ version : ' pre'
21
27
steps :
22
28
- uses : actions/checkout@v4
23
29
- uses : julia-actions/setup-julia@v2
27
33
- uses : julia-actions/cache@v2
28
34
- uses : julia-actions/julia-buildpkg@v1
29
35
- uses : julia-actions/julia-runtest@v1
36
+ env :
37
+ JULIA_NUM_THREADS : 4,2
30
38
- uses : julia-actions/julia-processcoverage@v1
31
39
- uses : codecov/codecov-action@v5
32
40
with :
33
41
files : lcov.info
34
- env :
35
- JULIA_NUM_THREADS : 4,2
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ using OhMyThreads: Consecutive, RoundRobin
4
4
using OhMyThreads. Experimental: @barrier
5
5
using OhMyThreads. Implementation: BoxedVariableError
6
6
7
+ @info " Testing with $(Threads. nthreads (:default )) ,$(Threads. nthreads (:interactive )) threads."
8
+
7
9
include (" Aqua.jl" )
8
10
9
11
sets_to_test = [(~ = isapprox, f = sin ∘ * , op = + ,
544
546
end
545
547
end
546
548
547
- let
549
+ let
548
550
x = Ref (0 )
549
551
y = Ref (0 )
550
552
try
758
760
├ Chunking: fixed count ($(10 * nt) ), split :roundrobin
759
761
└ Threadpool: default"""
760
762
end
761
-
763
+
762
764
@testset " Boxing detection and error" begin
763
765
let
764
766
f1 () = tmap (1 : 10 ) do i
790
792
791
793
@test_throws BoxedVariableError f1 ()
792
794
@test f2 () == 1 : 10
793
-
795
+
794
796
A = 1 # Cause spooky action-at-a-distance by making A outer-local to the whole let block!
795
797
end
796
798
You can’t perform that action at this time.
0 commit comments