Skip to content

really drop python<=3.7 support #317

really drop python<=3.7 support

really drop python<=3.7 support #317

Workflow file for this run

name: Test coverage
on:
workflow_dispatch:
push:
branches: [master]
pull_request:
branches:
- "**"
env:
PYTHON_VERSION: "3.8"
jobs:
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
cache: "poetry"
- name: Install dependencies
run: |
poetry config virtualenvs.in-project true
poetry install
- name: Generate report
run: |
export PYTHONPATH=$PWD
poetry run coverage run --parallel-mode --source flexmock tests/test_unittest.py
poetry run coverage run --parallel-mode --source flexmock tests/test_doctest.py
poetry run coverage run --parallel-mode --source flexmock -m pytest
poetry run coverage combine
poetry run coverage xml
- name: Upload report to Codecov
uses: codecov/codecov-action@v4