Skip to content

Commit 138dfdf

Browse files
committed
ci(Tests): run test with depwarn set to yes
All the deprecations in the package itself have been appropriately fixed up. However, currently, tests fail when `depwarn` is set to error because of a transitive dependency's depwarn, which is not directly influenced by the package's primitives itself. ```julia WARNING: using deprecated binding Colors.RGB1 in PlotUtils. , use XRGB instead. PlotUtils.RGB1 is deprecated, use ColorTypes.XRGB{T} where T<:Union{AbstractFloat, FixedPointNumbers.FixedPoint{T, f} where f where T<:Integer} instead. WARNING: using deprecated binding Colors.RGB4 in PlotUtils. , use RGBX instead. PlotUtils.RGB4 is deprecated, use ColorTypes.RGBX{T} where T<:Union{AbstractFloat, FixedPointNumbers.FixedPoint{T, f} where f where T<:Integer} instead. ``` Thus, set `depwarn` to just `yes` while runnning the julia tests, so that CI can pass.
1 parent 845787e commit 138dfdf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/Tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,5 @@ jobs:
2424
uses: "SciML/.github/.github/workflows/tests.yml@v1"
2525
with:
2626
julia-version: "${{ matrix.version }}"
27+
julia-runtest-depwarn: "yes"
2728
secrets: "inherit"

0 commit comments

Comments
 (0)