ArtiomTr/jest-coverage-report-action

Show files with reduced coverage is not working

tibistibi opened this issue · 1 comments

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

  • Action version:
  • run from github action
          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>
  • Screenshots

see above

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)

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