Skip to content

Update pytest config #153

Update pytest config

Update pytest config #153

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