Bump pre-commit from 3.8.0 to 4.0.1 in the actions group (#105) #157
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |