Cannot get ignore field to work

Please search for similar issues before creating a ticket.
All fields below are required.

Description

I want CodeCov to ignore /node/ and /node_module/ directories in my build, but cannot figure out how to do it.

Commit SHAs

a5ad3ef38a0fe45818e065617064c7d4e6c75aba

Repository

CI/CD or Build URL

GitHub Actions: Bump flyway-core from 7.12.1 to 7.13.0 · kontaras/LegendaryStats@a5ad3ef · GitHub

Uploader

CodeCov GitHub action: codecov/codecov-action@v2.0.2

Codecov Output

Run codecov/codecov-action@v2.0.2
  with:
    verbose: true
  env:
    JAVA_HOME: /opt/hostedtoolcache/Java_Adopt_jdk/11.0.11-9/x64
==> SHASUM file signed by key id 806bb28aed779869
==> Uploader SHASUM verified (6434e7d376f412405ba0fc0d2cf6f085312b16160fc5b7972a9008caae1ea9ff  codecov)
/home/runner/work/_actions/codecov/codecov-action/v2.0.2/dist/codecov -n  -Q github-action-2.0.2 -v
[2021-08-11T16:29:09.359Z] ['info'] 
     _____          _
    / ____|        | |
   | |     ___   __| | ___  ___ _____   __
   | |    / _ \ / _` |/ _ \/ __/ _ \ \ / /
   | |___| (_) | (_| |  __/ (_| (_) \ V /
    \_____\___/ \__,_|\___|\___\___/ \_/

  Codecov report uploader 0.1.0
[2021-08-11T16:29:09.365Z] ['info'] => Project root located at: /home/runner/work/LegendaryStats/LegendaryStats
[2021-08-11T16:29:09.368Z] ['info'] -> No token specified or token is empty
[2021-08-11T16:29:09.369Z] ['verbose'] Start of network processing...
[2021-08-11T16:29:09.369Z] ['verbose'] Searching for files in /home/runner/work/LegendaryStats/LegendaryStats
[2021-08-11T16:29:09.498Z] ['info'] Searching for coverage files...
[2021-08-11T16:29:09.678Z] ['info'] => Found 2 possible coverage files:
  build/reports/jacoco/test/jacocoTestReport.xml
  node/lib/node_modules/npm/node_modules/mute-stream/coverage/lcov.info
[2021-08-11T16:29:09.678Z] ['verbose'] End of network processing
[2021-08-11T16:29:09.681Z] ['info'] Processing /home/runner/work/LegendaryStats/LegendaryStats/build/reports/jacoco/test/jacocoTestReport.xml...
[2021-08-11T16:29:09.683Z] ['info'] Processing /home/runner/work/LegendaryStats/LegendaryStats/node/lib/node_modules/npm/node_modules/mute-stream/coverage/lcov.info...
[2021-08-11T16:29:09.692Z] ['info'] Detected GitHub Actions as the CI provider.
[2021-08-11T16:29:09.692Z] ['verbose'] -> Using the following env variables:
[2021-08-11T16:29:09.693Z] ['verbose']      GITHUB_ACTION: __codecov_codecov-action
[2021-08-11T16:29:09.693Z] ['verbose']      GITHUB_HEAD_REF: 
[2021-08-11T16:29:09.693Z] ['verbose']      GITHUB_REF: refs/heads/dependabot/gradle/dev/org.flywaydb-flyway-core-7.13.0
[2021-08-11T16:29:09.694Z] ['verbose']      GITHUB_REPOSITORY: knary/LegendaryStats
[2021-08-11T16:29:09.694Z] ['verbose']      GITHUB_RUN_ID: 1120837505
[2021-08-11T16:29:09.694Z] ['verbose']      GITHUB_SERVER_URL: https://github.com
[2021-08-11T16:29:09.694Z] ['verbose']      GITHUB_SHA: a5ad3ef38a0fe45818e065617064c7d4e6c75aba
[2021-08-11T16:29:09.695Z] ['verbose']      GITHUB_WORKFLOW: Build, test, and qulity
[2021-08-11T16:29:09.696Z] ['info'] Pinging Codecov: https://codecov.io/upload/v4?package=github-action-2.0.2-uploader-0.1.0&token=*******&branch=dependabot/gradle/dev/org.flywaydb-flyway-core-7.13.0&build=1120837505&build_url=https%3A%2F%2Fgithub.com%2Fknary%2FLegendaryStats%2Factions%2Fruns%2F1120837505&commit=a5ad3ef38a0fe45818e065617064c7d4e6c75aba&job=Build%2C%20test%2C%20and%20qulity&pr=&service=github-actions&slug=knary/LegendaryStats&name=&tag=&flags=&parent=
[2021-08-11T16:29:09.696Z] ['verbose'] Passed token was 0 characters long
[2021-08-11T16:29:09.697Z] ['verbose'] https://codecov.io/upload/v4?package=github-action-2.0.2-uploader-0.1.0&branch=dependabot/gradle/dev/org.flywaydb-flyway-core-7.13.0&build=1120837505&build_url=https%3A%2F%2Fgithub.com%2Fknary%2FLegendaryStats%2Factions%2Fruns%2F1120837505&commit=a5ad3ef38a0fe45818e065617064c7d4e6c75aba&job=Build%2C%20test%2C%20and%20qulity&pr=&service=github-actions&slug=knary/LegendaryStats&name=&tag=&flags=&parent=
        Content-Type: 'text/plain'
        Content-Encoding: 'gzip'
        X-Reduced-Redundancy: 'false'
[2021-08-11T16:29:10.143Z] ['verbose'] Returned upload url: https://codecov.io/github/knary/LegendaryStats/commit/a5ad3ef38a0fe45818e065617064c7d4e6c75aba
https://storage.googleapis.com/codecov/v4/raw/2021-08-11/FBFC5AA2CCBB9F9499971EEC42197E83/a5ad3ef38a0fe45818e065617064c7d4e6c75aba/ba064f9b-9fe2-4d83-a59a-aa46d8abc079.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210811T162910Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c283942c84e0e8931980b51bf39c8ec35f990a9baf5cb4e4b17764195cf2e211
[2021-08-11T16:29:10.143Z] ['verbose'] https://storage.googleapis.com/codecov/v4/raw/2021-08-11/FBFC5AA2CCBB9F9499971EEC42197E83/a5ad3ef38a0fe45818e065617064c7d4e6c75aba/ba064f9b-9fe2-4d83-a59a-aa46d8abc079.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210811%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210811T162910Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c283942c84e0e8931980b51bf39c8ec35f990a9baf5cb4e4b17764195cf2e211
        Content-Type: 'text/plain'
        Content-Encoding: 'gzip'
[2021-08-11T16:29:10.143Z] ['info'] Uploading...
[2021-08-11T16:29:10.384Z] ['info'] {"status":"success","resultURL":"https://codecov.io/github/knary/LegendaryStats/commit/a5ad3ef38a0fe45818e065617064c7d4e6c75aba"}
[2021-08-11T16:29:10.384Z] ['verbose'] End of uploader: 1029 milliseconds

Expected Results

Coverage for src/main but not node/lib

Actual Results

https://codecov.io/gh/knary/LegendaryStats/tree/a5ad3ef38a0fe45818e065617064c7d4e6c75aba

Additional Information

codecov.yml:

parsers:
  javascript:
    enable_partials: yes
  gcov:
    branch_detection:
      conditional: yes
      loop: yes
      method: no
      macro: no

comment: false

ignore:
  - "/node_modules/"
  - "/node/"

Hi @ktar, I tried to take a look but I think you moved the repository? I see an error in your build.

I think you may need to log into Codecov to the new repository. I can take a look into the ignores afterwards.