Skip to content

Bump astral-sh/ruff-action from 1 to 3 #241

Bump astral-sh/ruff-action from 1 to 3

Bump astral-sh/ruff-action from 1 to 3 #241

Workflow file for this run

name: codecov
on: [push, pull_request]
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .
- name: Generate coverage report
run: |
pip install pytest
pip install pytest-cov
pytest --cov=chatminer --cov-report=xml test/
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
flags: unittests
dry_run: false