Skip to content

Commit

Permalink
tweak CI to track coverage on docs
Browse files Browse the repository at this point in the history
  • Loading branch information
maltezfaria committed Jul 9, 2024
1 parent 6a07272 commit 1f0150c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
run: DISPLAY=:1 xvfb-run -s '-screen 1 1024x768x24' julia --project=docs/ --code-coverage=user docs/make.jl
- name: Process coverage
if: github.ref == 'refs/heads/main'
uses: julia-actions/julia-processcoverage@v1
- name: Upload coverage to Codecov
if: github.ref == 'refs/heads/main'
uses: codecov/codecov-action@v4
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: lcov.info
2 changes: 1 addition & 1 deletion src/nystrom.jl
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ function _farfield_distance(el, K, qrule, tol, maxiter)
@debug n, er
(er < tol / 2) && break # attained desired tolerance
end
msg = """failed to attained desired tolerance when computing maxdist. Your
msg = """failed to attain desired tolerance when computing maxdist. Your
quadrature may not be accurate enough, or your meshsize not small enough, to
achieve the requested tolerance on the far field."""
er > tol / 2 && @warn msg
Expand Down

0 comments on commit 1f0150c

Please sign in to comment.