Update codecov.yml #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: API workflow | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
codecov: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v2 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} # Make sure to set CODECOV_TOKEN as a secret in your repository settings | |
file: ./coverage/lcov.info | |
flags: -f lcov # Specify the coverage file format |