Ignoring some files in coverage testing when github actions is taking care of continuous integration

Here’s what worked for me.

  1. The list of files to be skipped is not included in the main CI.yml file but included in a separate yml file with the ignore tag. Here’s my specific example:
ignore:
  - "src/proto*.jl"  
  - "src/plotsForPaper.jl"
  - "src/early_tests_of_bases.jl"
  - "src/convertStrin.jl"
  - "src/convertVaspData.jl"
  1. This file is named codecov.yml (not .codecov.yml)
  2. This file is placed in the root folder of the repo, not in .github/workflows.