Skip to content

add asyncio_default_fixture_loop_scope = function #18

add asyncio_default_fixture_loop_scope = function

add asyncio_default_fixture_loop_scope = function #18

Workflow file for this run

name: Dev
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
dev:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Set up python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install Poetry
uses: snok/install-poetry@v1.3.4
with:
virtualenvs-in-project: true
- name: Load cached venv
id: cached-poetry-dependencies
uses: actions/cache@v4
with:
path: .venv
key: venv-${{ runner.os }}-${{ steps.setup-python.outputs.python-version }}-${{ hashFiles('**/poetry.lock') }}
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root --without test --with docs
- name: Activate virtual environment
run: source $VENV
- name: Lint with Ruff
run: poetry run ruff check
- name: Check code security with Bandit
run: poetry run bandit -c pyproject.toml -r .
- name: Typing with mypy
run: poetry run mypy
- name: Format with Ruff
run: poetry run ruff format --check
- name: Build docs with Material for MkDocs
run: poetry run mkdocs build