I am trying to integrate CodeCov
in CircleCI
, but the command
bash <(curl -s https://codecov.io/bash)
returns
The '<' operator is reserved for future use.
when executed in the pipeline.
I am following the documentation that I found for
- CodeCov: https://docs.codecov.io/v4.3.0/docs/about-the-codecov-bash-uploader
- CircleCI: https://circleci.com/docs/reference-2-1/#jobs
My config.yml
has the following steps:
steps:
- checkout
- run:
name: "Run Unit Tests"
command: dotnet.exe test ./UnitTests --collect:"XPlat Code Coverage"
- run:
name: Upload CodeCov.io Data
command: bash <(curl -s https://codecov.io/bash)
when: always # Uploads code coverage results, pass or fail
I have also tried with just curl -s https://codecov.io/bash
but in this way I get the error
Invoke-WebRequest : Cannot process command because of one or more missing mandatory parameters: Uri.
Has anyone of you made this integration?
Thank you