Skip to content

Bump protobuf from 4.23.3 to 4.25.0 #252

Bump protobuf from 4.23.3 to 4.25.0

Bump protobuf from 4.23.3 to 4.25.0 #252

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.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Install dependencies
run: poetry install
- name: Run linting
run: |
poetry run isort .
poetry run black . --check --extend-exclude proto
poetry run flake8 .
poetry run pylint vivintpy tests
poetry run pydocstyle vivintpy tests
- name: Run mypy
run: poetry run mypy vivintpy tests
- name: Test with pytest
run: poetry run pytest --asyncio-mode=auto