Skip to content

Commit f13b31c

Browse files
committed
fix explicit imports test, remove macos13 test
1 parent 5a343d0 commit f13b31c

File tree

4 files changed

+21
-10
lines changed

4 files changed

+21
-10
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
os:
2020
- ubuntu-latest
2121
- windows-latest
22-
- macOS-13 # intel
2322
- macOS-14 # arm
2423
arch:
2524
- x64
@@ -29,8 +28,6 @@ jobs:
2928
arch: aarch64
3029
- os: windows-latest
3130
arch: aarch64
32-
- os: macOS-13
33-
arch: aarch64
3431
- os: macOS-14
3532
arch: x64
3633
steps:

src/RotatingElectrodes/rrde_cv.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function CVContext(
2121
reaction,
2222
disktype = "E6R1";
2323
set_voltage = () -> null,
24-
bulk_reaction = VoronoiFVM.nofunc,
24+
bulk_reaction = nothing,
2525
nref = 0,
2626
num_species = 1,
2727
num_disk_species = 0,
@@ -63,7 +63,7 @@ function CVContext(
6363
flux = rrde_flux,
6464
breaction = breaction
6565
)
66-
cvcontext.rdcell = VoronoiFVM.DenseSystem(cvcontext.grid, physics)
66+
cvcontext.rdcell = VoronoiFVM.System(cvcontext.grid, physics, unknown_storage = :dense)
6767
else
6868
physics = VoronoiFVM.Physics(
6969
num_species = num_species + num_disk_species,
@@ -73,7 +73,7 @@ function CVContext(
7373
bstorage = bstorage,
7474
breaction = breaction
7575
)
76-
cvcontext.rdcell = VoronoiFVM.SparseSystem(cvcontext.grid, physics)
76+
cvcontext.rdcell = VoronoiFVM.System(cvcontext.grid, physics, unknown_storage = :sparse)
7777
end
7878

7979
for ispec in 1:num_species

src/electrolyte.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,6 @@ function Base.show(io::IOContext{Base.IOBuffer}, this::ElectrolyteData)
254254
return showstruct(io, this)
255255
end
256256

257-
function Base.show(io::IOContext{Base.DevNull}, this::ElectrolyteData)
258-
@info "show3"
259-
return showstruct(io, this)
260-
end
261257

262258
"""
263259
update_derived!(electrolyte::ElectrolyteData)

test/alltests.jl

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,28 @@ end
134134

135135
@testset "ExplicitImports" begin
136136
@test ExplicitImports.check_no_implicit_imports(LiquidElectrolytes, skip = (Base, Core, Markdown)) === nothing
137+
@test ExplicitImports.check_all_explicit_imports_via_owners(LiquidElectrolytes) === nothing
137138
@test ExplicitImports.check_all_explicit_imports_are_public(LiquidElectrolytes) === nothing
138139
@test ExplicitImports.check_no_stale_explicit_imports(LiquidElectrolytes, ignore = (:README,)) === nothing
140+
@test ExplicitImports.check_all_qualified_accesses_via_owners(LiquidElectrolytes) === nothing
141+
@test ExplicitImports.check_all_qualified_accesses_are_public(
142+
LiquidElectrolytes,
143+
ignore = (
144+
:chargedensity!,
145+
:extended_unknowns,
146+
:flowplot,
147+
:flowsolver,
148+
:fvm_velocities,
149+
:node_pressure,
150+
:node_velocity,
151+
:velocity_unknown,
152+
:voltage!,
153+
)
154+
) === nothing
155+
@test ExplicitImports.check_no_self_qualified_accesses(LiquidElectrolytes) === nothing
139156
end
140157

158+
141159
@testset "Aqua" begin
142160
Aqua.test_all(LiquidElectrolytes)
143161
end

0 commit comments

Comments
 (0)