Skip to content

Bump pytest from 8.2.1 to 8.2.2 #228

Bump pytest from 8.2.1 to 8.2.2

Bump pytest from 8.2.1 to 8.2.2 #228

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies
run: poetry install
- name: Run linting
run: |
poetry run ruff check .
poetry run ruff format . --check
- name: Run mypy
run: poetry run mypy pyweatherflowudp
- name: Test with pytest
run: poetry run pytest --timeout=10 --cov=pyweatherflowudp --asyncio-mode=auto