Skip to content

Bump codecov/codecov-action from 4 to 5 #106

Bump codecov/codecov-action from 4 to 5

Bump codecov/codecov-action from 4 to 5 #106

Workflow file for this run

name: Coverage
on:
pull_request:
push:
branches:
- master
jobs:
coverage:
name: Check coverage
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
- uses: snok/install-poetry@v1
with:
version: 1.3.2
virtualenvs-create: true
virtualenvs-in-project: true
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: poetry
- name: Install requirements
run: poetry install
- name: Run tests
run: poetry run coverage run -m pytest --cov=anymail_history --cov-report=xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5