Skip to content

Fixed dependencies and added uncommited tests #79

Fixed dependencies and added uncommited tests

Fixed dependencies and added uncommited tests #79

Workflow file for this run

name: Tests
on:
push:
branches:
- master
paths-ignore:
- 'benchmarks/**'
- 'docs/**'
- 'examples/**'
pull_request:
branches:
- master
paths-ignore:
- 'benchmarks/**'
- 'docs/**'
- 'examples/**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup environment (lint)
uses: ./.github/actions/setup-env
with:
python-version: "3.10"
install-flags: "--all-extras"
- name: Run linters
run: poetry run pre-commit run --all-files
- name: Run mypy
run: poetry run mypy fastopenapi/
test:
needs: lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.14"]
steps:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup environment (test)
uses: ./.github/actions/setup-env
with:
python-version: ${{ matrix.python-version }}
install-flags: "--all-extras"
- name: Run tests
run: poetry run pytest