Skip to content

Commit

Permalink
add uncovered line, change ci
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickersing committed Jan 15, 2024
1 parent 24bc5da commit 95c595d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ jobs:
- uses: codecov/codecov-action@v3
with:
files: lcov.info
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}
- uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
10 changes: 5 additions & 5 deletions src/equations/shallow_water_wet_dry_1d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -616,11 +616,11 @@ end
equations.H0, eps(), eps()))
end

# @inline function Trixi.waterheight(u, equations::ShallowWaterEquationsWetDry1D)
# return Trixi.waterheight(u,
# Trixi.ShallowWaterEquations1D(equations.gravity,
# equations.H0, eps(), eps()))
# end
@inline function Trixi.waterheight(u, equations::ShallowWaterEquationsWetDry1D)
return Trixi.waterheight(u,

Check warning on line 620 in src/equations/shallow_water_wet_dry_1d.jl

View check run for this annotation

Codecov / codecov/patch

src/equations/shallow_water_wet_dry_1d.jl#L619-L620

Added lines #L619 - L620 were not covered by tests
Trixi.ShallowWaterEquations1D(equations.gravity,
equations.H0, eps(), eps()))
end

# @inline function Trixi.pressure(u, equations::ShallowWaterEquationsWetDry1D)
# return Trixi.pressure(u,
Expand Down

0 comments on commit 95c595d

Please sign in to comment.