Skip to content

Test the cli

Test the cli #247

Workflow file for this run

name: Workflow for Codecov example-python
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: pip install -r requirements.txt
- name: Install codecov cli
run: pip install codecov-cli
- name: Run tests and collect coverage
run: pytest --cov app
- name: Create a commit on Codecov
run: codecovcli create-commit -t e2800f80-c8a1-4b0b-b267-f2525e35b757
- name: Create a report on Codecov
run: codecovcli create-report -t e2800f80-c8a1-4b0b-b267-f2525e35b757
- name: Upload coverage to Codecov
run: codecovcli do-upload -t e2800f80-c8a1-4b0b-b267-f2525e35b757