Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try make codecov look at results from all test groups #907

Merged
merged 8 commits into from Dec 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions .codecov.yml
@@ -0,0 +1,3 @@
codecov:
notify:
after_n_builds: 2
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -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' }}
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions test/runtests.jl
Expand Up @@ -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