Skip to content

feat: skip equal docs #177

feat: skip equal docs

feat: skip equal docs #177

Workflow file for this run

name: Test
on: pull_request
env:
DB_URI: "sqlite:///:memory:"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: |
pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
cache-dependency-path: poetry.lock
- name: Set Poetry environment
run: |
poetry env use ${{ matrix.python-version }}
- name: Install dependencies
run: |
poetry install --no-root
- name: Set PYTHONPATH
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)" >> $GITHUB_ENV
- name: Run tests
run: |
poetry run pytest app
- name: Lint with Ruff
run: |
pip install ruff
ruff check --output-format=github .
continue-on-error: true