Before submitting a topic, please confirm the following
I have searched for similar issues before creating this topic.
I have verified that my repository is using the Codecov GitHub app, if using GitHub
I have validated my codecov.yaml
configuration file.
I have filled out the below sections to the best of my ability.
Description
Hi, I want to use orb from CircleCI to upload coverage to codecov, but job dose not upload my test coverage, and if i run commands in local env my tests coverage is uploaded.
It is only doing a command: curl -fLso codecov https://codecov.io/bash
and then stops
CI/CD URL
Codecov Output
#!/bin/bash -eo pipefail
curl -fLso codecov https://codecov.io/bash
CircleCI received exit code 0
Expected Results
Code coverage uploaded in on a Codecov
Actual Results
Uploading did’t happened.
Additional Information
This is my yaml file for circeci
orbs: # declare what orbs we are going to use
node: circleci/node@3.0.1 # the node orb provides common node-related configuration
codecov: codecov/codecov@3.0.0
version: 2.1 # using 2.1 provides access to orbs and other features
jobs:
test:
executor: node/default
steps:
- checkout
- node/install-packages:
cache-path: ~/project/node_modules
override-ci-command: npm install
- run: npx hardhat compile --showsize --optimizer
- run: npx hardhat test --optimizer
- run: npx hardhat coverage
codecov-job:
docker:
# replace with your preferred image
- image: cimg/base:stable
steps:
- codecov/upload:
file: './coverage.json'
validate_url: false
workflows:
jobs-workflow:
jobs:
- codecov-job:
requires:
- test
- test