Bump pytest from 7.4.0 to 7.4.4 #504
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pylint | |
on: | |
push: | |
branches: | |
- "main" | |
- "[0-9]+.[0-9]+" | |
pull_request: | |
branches: | |
- "main" | |
- "[0-9]+.[0-9]+" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.11 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install poetry | |
uses: snok/install-poetry@v1 | |
with: | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
- name: Load cached venv | |
id: cached-poetry-dependencies | |
uses: actions/cache@v3 | |
with: | |
path: .venv | |
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }} | |
- name: Install dependencies | |
run: poetry install --no-interaction | |
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' | |
- name: Analysing the code with pylint | |
run: | | |
poetry run pylint texasholdem | |
poetry run pylint tests | |
- name: Analysing the code with black | |
run: | | |
poetry run black --check texasholdem | |
poetry run black --check tests | |
- name: Ensuring docs can compile | |
run: | | |
poetry run python -m sphinx -T -E -b html -d _build/doctrees -D language=en docs docs/out/html |