Skip to content

test: restructure test resources #18

test: restructure test resources

test: restructure test resources #18

Workflow file for this run

name: Lint
on:
pull_request:
branches:
- main
workflow_call:
jobs:
lint:
strategy:
fail-fast: false
matrix:
python-version: ["3.10"]
poetry-version: ["1.4.2"]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: ${{ matrix.poetry-version }}
- name: Install dependencies
run: poetry install --only dev
- name: Formatting
run: poetry run black "pytracking_cdm"
- name: Linting
run: poetry run ruff pytracking_cdm
- name: enforcing docstrings
run: poetry run pydocstyle pytracking_cdm