Skip to content

Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 #102

Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14

Bump pypa/gh-action-pypi-publish from 1.8.12 to 1.8.14 #102

Workflow file for this run

name: Python tests (pytest)
on:
push:
pull_request:
branches:
- main
- develop
permissions:
contents: read
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
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 dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[tests]
- name: Test with pytest
run: |
pytest --cov=timeoutd/ --cov-report term-missing --junitxml=report.xml tests/
coverage xml
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4