Skip to content

Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.12.2 (#148) #234

Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.12.2 (#148)

Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.12.2 (#148) #234

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@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
flags: unittests
dry_run: false