Skip to content

fix(deps): update dependency pylint to v3.2.4 #967

fix(deps): update dependency pylint to v3.2.4

fix(deps): update dependency pylint to v3.2.4 #967

Workflow file for this run

name: Python
on:
workflow_dispatch:
pull_request:
push:
# Don't run this workflow when tags are pushed (it already runs for commits to master)
# tags-ignore: ["v*"]
# TODO: tags-ignore didn't work as expected: the workflow didn't run at all
jobs:
test:
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
platform: [ubuntu-20.04, macos-latest] # TODO: , windows-latest
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install -U pip poetry
poetry --version
poetry install
- name: Run tests
# -s is needed otherwise Invoke raises an error invoke.exceptions.ThreadException, then
# OSError: pytest: reading from stdin while output is captured! Consider using `-s`.
run: poetry run pytest -v -s