Skip to content

Tidy up

Tidy up #69

Workflow file for this run

name: Test and Lint
on:
push:
branches:
- main
pull_request:
types: [opened, reopened, synchronize]
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ruff:
name: Lint with ruff
runs-on: ubuntu-22.04
concurrency: lint
steps:
- uses: actions/checkout@v4
- uses: jpetrucciani/ruff-check@main
with:
path: './dynamo/'
flags: '--config ./pyproject.toml'
tests:
name: Test with pytest
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'poetry'
- run: poetry install --with=dev
- run: poetry run pytest tests --asyncio-mode=strict -n logical