Skip to content

chore(deps): bump codecov/codecov-action from 4.6.0 to 5.0.2 #376

chore(deps): bump codecov/codecov-action from 4.6.0 to 5.0.2

chore(deps): bump codecov/codecov-action from 4.6.0 to 5.0.2 #376

Workflow file for this run

name: Code Coverage
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-22.04
steps:
- name: Checkout code coverage
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install pytest
run: pip install pytest-cov
- name: Install poetry
run: pip install poetry
- name: Configure poetry
run: poetry config virtualenvs.create false
- name: Install dependencies
run: poetry install
- name: Run tests and collect coverage
run: coverage run --omit="./tests" -m pytest
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: IFCA-Advanced-Computing/anjana