ArtiomTr / jest-coverage-report-action

Track your code coverage in every pull request.
https://www.covbot.dev
MIT License
473 stars 136 forks source link

Show files with reduced coverage is not working #428

Open tibistibi opened 1 month ago

tibistibi commented 1 month ago

Describe a bug

When I have setup jest with babel and code all in one directory i get this report: image

You see here the Show files with reduced coverage. When I move the config files one dir up make it more clean what is my code and what is the config files I get this report:

image

Expected behavior

I would like to keep the option to show the files seperately

Details

          name: 'coverage location-sf-ods-connector'
          on:
              pull_request:
                  branches:
                      - master
                      - main
          permissions: write-all

          jobs:
              coverage:
                  runs-on: ubuntu-latest
                  steps:
                      - uses: actions/checkout@v3
                      - uses: ArtiomTr/jest-coverage-report-action@v2
                        with:
                          working-directory: bms/location-sf-ods-connector/lambda
</details>

Additional context

Maybe it somehow can not compare to get the reduced coverage list. Or I do not understand how it can conclude it is reduced (what against what)

tibistibi commented 1 month ago

As I work longer with it it seems that the list only appears when a file is less tested than before. So reduced in the time sense and not less than wanted.

Then I would like to change my question to is it possible so show a list of all files with their coverage or all files lower than 100%?

thanks