Skip to content

chore(deps): Update mkdocs-include-markdown-plugin requirement from <7.0.0,>=4.0.0 to >=4.0.0,<8.0.0 #136

chore(deps): Update mkdocs-include-markdown-plugin requirement from <7.0.0,>=4.0.0 to >=4.0.0,<8.0.0

chore(deps): Update mkdocs-include-markdown-plugin requirement from <7.0.0,>=4.0.0 to >=4.0.0,<8.0.0 #136

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint-python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install -e .[test]
- name: Run isort
run: python -m isort fastapi_jwt --check
- name: Run linter
run: |
# can remove flake8 after https://github.com/astral-sh/ruff/issues/2402
python -m flake8 fastapi_jwt tests
python -m ruff check fastapi_jwt tests
- name: Run mypy
run: python -m mypy fastapi_jwt
test-python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: |
python -m pip install wheel
python -m pip install -e .[test]
- name: Test itself
run: python -m pytest --cov-report=xml
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
files: coverage.xml
fail_ci_if_error: true # optional (default = false)
verbose: true # optional (default = false)
token: ${{ secrets.CODECOV_TOKEN }} # required