romeovs / lcov-reporter-action

Comments a pull request with the code coverage generated by your tests.
MIT License
161 stars 99 forks source link

Unexpected input(s) 'filter-changed-files', 'delete-old-comments', #39

Open JeremyBradshaw7 opened 2 years ago

JeremyBradshaw7 commented 2 years ago

Warning: Unexpected input(s) 'filter-changed-files', 'delete-old-comments', valid inputs are ['github-token', 'lcov-file', 'lcov-base']

name: Unit Tests
on: [pull_request]

jobs:
  unit_test:
    runs-on: ubuntu-latest
    name: Run Unit Tests
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: '15.x'
          cache: 'yarn'
      - run: yarn install --prefer-offline
      - run: yarn test
      - name: Report code coverage
        uses: romeovs/lcov-reporter-action@v0.2.19
        with:
          filter-changed-files: true
          delete-old-comments: true
          lcov-file: ./jest/coverage/lcov.info
          github-token: ${{ secrets.GITHUB_TOKEN }}
gresnick commented 2 years ago

update to 0.3.1

fredrikaverpil commented 1 year ago

See #46 and #47, I posted workarounds there.