Skip to content

files argument is not used #107

Open
@davidwessman

Description

Hello!

When running the action it reports one of my files I use for specs as well.

I have tried to add both files with a bang and adding exclude:

info - 2024-12-25 23:00:38,762 -- ci service found: github-actions
warning - 2024-12-25 23:00:38,773 -- No config file could be found. Ignoring config.
warning - 2024-12-25 23:00:38,788 -- Some files being explicitly added are found in the list of excluded files for upload. We are still going to search for the explicitly added files. --- {"files": ["report.xml"]}
warning - 2024-12-25 23:00:39,095 -- Some files were not found --- {"not_found_files": ["!./test/support"]}
info - 2024-12-25 23:00:39,275 -- Found 2 test_results files to report
info - 2024-12-25 23:00:39,275 -- > /home/runner/work/project/test/support/files/minitest_example.xml
- name: Upload test results to Codecov
   if: ${{ !cancelled() }}
   uses: codecov/test-results-action@v1
   with:
     token: ${{ secrets.CODECOV_TOKEN }}
     files: ./report.xml,!./test/support
- name: Upload test results to Codecov
   if: ${{ !cancelled() }}
   uses: codecov/test-results-action@v1
   with:
     token: ${{ secrets.CODECOV_TOKEN }}
     files: ./report.xml
     exclude: ./test/support

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions