Skip to content

Removing pytest-profiling (fails in Python 3.13) #350

Removing pytest-profiling (fails in Python 3.13)

Removing pytest-profiling (fails in Python 3.13) #350

Workflow file for this run

name: Code coverage
on: [push, workflow_dispatch]
jobs:
run:
runs-on: ubuntu-latest
env:
OS: ubuntu-latest
PYTHON: '3.11'
steps:
- uses: actions/checkout@master
- name: Setup Python
uses: actions/setup-python@master
with:
python-version: '3.11'
- name: Generate coverage report
run: |
sudo apt-get -y install libsnappy-dev
pip install poetry
poetry install
poetry run pytest -n logical --cov=numbers_parser --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
directory: ./coverage/reports/
env_vars: OS,PYTHON
fail_ci_if_error: true
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
verbose: true