Skip to content

Code Coverage

Raul Montoya Cardenas edited this page Jul 29, 2026 · 2 revisions

Code Coverage (Codecov)

Workflow: .github/workflows/codecov.ymlCodecov.

Triggers

  • push to main
  • pull_request (all branches)

Concurrency: codecov-${{ github.ref }} with cancel-in-progress. Permissions: contents: read.

Job Matrix

Setting Value
Julia 1.11 only
Runner ubuntu-latest
fail-fast false

Steps

  1. Checkout (SHA-pinned).
  2. Setup Julia 1.11 + cache.
  3. Pkg.instantiate(); Pkg.precompile().
  4. Pkg.test(; coverage=true).
  5. Process coveragejulia-actions/julia-processcoverage with directories: src → produces lcov.info.
  6. Uploadcodecov/codecov-action with:
    • files: lcov.info
    • flags: julia
    • token: ${{ secrets.CODECOV_TOKEN }}
    • fail_ci_if_error: false (upload problems do not hard-fail the job)

Policy Notes

  • Prefer julia-actions/julia-processcoverage over adding Coverage.jl to Project.toml (AGENTS.md).
  • README badge: Codecov graph for Limen-Neural/LiquidCortex.jl branch main.
  • Coverage on CPU-only runners reflects load/export paths and any non-GPU code; SparseBrain step coverage requires GPU runs.

Local Coverage

julia --project -e 'using Pkg; Pkg.test(; coverage=true)'
# then process with julia-processcoverage or Coverage.jl tooling as preferred locally

Related


Last updated: July 28, 2026 Updated by: Grok Build: Grok 4.5 Package tip reference: 4e2698c (main)

Clone this wiki locally