Skip to content

Bump pre-commit-ci/lite-action from 1.0.2 to 1.0.3 #101

Bump pre-commit-ci/lite-action from 1.0.2 to 1.0.3

Bump pre-commit-ci/lite-action from 1.0.2 to 1.0.3 #101

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@v4