Skip to content

Bump pre-commit from 3.8.0 to 4.0.1 in the actions group (#105) #157

Bump pre-commit from 3.8.0 to 4.0.1 in the actions group (#105)

Bump pre-commit from 3.8.0 to 4.0.1 in the actions group (#105) #157

Workflow file for this run

name: coverage
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
report:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install packages
run: |
python -m pip install --upgrade pip wheel setuptools
python -m pip install ".[test]"
python -m pip list
- name: Generate coverage report
run: |
python -m pytest --cov=yaml2ics --doctest-modules --durations=20
- name: Upload to codecov
uses: codecov/codecov-action@v4