Skip to content

build(deps-dev): bump pytest-asyncio from 0.25.1 to 0.25.2 #423

build(deps-dev): bump pytest-asyncio from 0.25.1 to 0.25.2

build(deps-dev): bump pytest-asyncio from 0.25.1 to 0.25.2 #423

Workflow file for this run

name: Python application
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: "3.12"
- name: Install dependencies
run: |
curl -sSL https://install.python-poetry.org | python3 -
echo "$HOME/.local/bin" >> $GITHUB_PATH
poetry install
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
echo "$HOME/.local/bin" >> $GITHUB_PATH
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Analysing the code with pylint
run: |
find . -type f -name \*.py|xargs poetry run pylint --disable=all --enable=F
- name: Test with pytest
run: |
echo "$HOME/.local/bin" >> $GITHUB_PATH
poetry run python -m pytest