diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 000000000..7a9c0ba9c --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,3 @@ +codecov: + notify: + after_n_builds: 2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 991821197..cc48974ec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -48,7 +48,7 @@ jobs: # continue-on-error: ${{ matrix.version == 'nightly' }} # Allow nightly to fail and workflow still count as completed - uses: julia-actions/julia-processcoverage@v1 with: - directories: src,lib/ControlSystemsBase/src + directories: src,lib/ControlSystemsBase/src,lib/ControlSystemsBase/ext if: ${{ matrix.version == '1' }} - uses: codecov/codecov-action@v3 if: ${{ matrix.version == '1' }} diff --git a/Project.toml b/Project.toml index b4696f22b..9ceaff71f 100644 --- a/Project.toml +++ b/Project.toml @@ -26,7 +26,7 @@ DelayDiffEq = "5.31" DiffEqCallbacks = "2.16" ForwardDiff = "0.10" Hungarian = "0.6, 0.7" -OrdinaryDiffEq = "5.2, 6.0" +OrdinaryDiffEq = "~6.60" RecipesBase = "1" Reexport = "1" StaticArrays = "1" diff --git a/test/runtests.jl b/test/runtests.jl index a2339c182..820ac896f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -27,11 +27,11 @@ end if GROUP == "All" for GROUP in readdir(joinpath(dirname(@__DIR__), "lib")) # Loop over all subpackages subpkg_path = joinpath(dirname(@__DIR__), "lib", GROUP) - Pkg.test(PackageSpec(name = GROUP, path = subpkg_path)) + Pkg.test(PackageSpec(name = GROUP, path = subpkg_path), coverage = true) end elseif GROUP != "ControlSystems" # dev_subpkg(GROUP) # Do this if more sub packages are added, don't forget to avoid doing it if GROUP is CSBase subpkg_path = joinpath(dirname(@__DIR__), "lib", GROUP) - Pkg.test(PackageSpec(name = GROUP, path = subpkg_path)) + Pkg.test(PackageSpec(name = GROUP, path = subpkg_path), coverage = true) end