Skip to content

chore(deps): update dependency pytest to v8.4.1 (#115) #311

chore(deps): update dependency pytest to v8.4.1 (#115)

chore(deps): update dependency pytest to v8.4.1 (#115) #311

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
validate:
name: Validate
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@5db1cf9a59fb97c40a68accab29236f0da7e94db
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: abatilo/actions-poetry@b8f6fe29ba2eb78e0d45ccbf41cd14154c4e25b2
- name: Configure Poetry
run: |
poetry config virtualenvs.create true --local
poetry config virtualenvs.in-project true --local
- name: Cache dependencies
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
with:
path: ./.venv
key: venv-${{ runner.os }}-py${{ matrix.python-version }}-${{ hashFiles('poetry.lock') }}
restore-keys: |
venv-${{ runner.os }}-py${{ matrix.python-version }}-
- name: Install package
run: poetry install --all-extras
- name: Lint
run: poetry run ruff check --output-format=github dyana
- name: Type check
run: poetry run mypy --ignore-missing-imports --no-error-summary dyana
- name: Test
run: poetry run pytest dyana