codecov-action icon indicating copy to clipboard operation
codecov-action copied to clipboard

Specify Swift packages for code coverage

Open adamhaafiz opened this issue 1 year ago • 3 comments

In the deprecated Bash Uploader there is an option to specify which Swift packages should be included via -J {package name} argument. I tried to replicate this using the xtra_args but was not successful:

uses: codecov/codecov-action@v3
with:
  swift: true
  xtra_args: -J {package name}

Is this feature available in this uploader? If so, how?

adamhaafiz avatar Jun 13 '23 15:06 adamhaafiz

I faced the same issue, how to test with xcodebuild test, and what format file is correct?

zhu-xiaowei avatar Jun 19 '23 01:06 zhu-xiaowei

  - name: Upload coverage to Codecov
    uses: codecov/[email protected]
    with:
      swift: true
      swift_project: SWDestinyTrades
      verbose: true    

dogo avatar Nov 16 '23 17:11 dogo