Skip to content

Bump jinja2 from 2.11.2 to 3.1.3 in /docs #110

Bump jinja2 from 2.11.2 to 3.1.3 in /docs

Bump jinja2 from 2.11.2 to 3.1.3 in /docs #110

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install black==22.3.0 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with Black
run: |
if matrix.python-version > 3.6; then black . --check; fi
- name: Run unittests
run: |
python -m pytest
- name: Build mkdocs
run: |
python -m pip install -r docs/readthedocs.requirements.txt
python -m mkdocs build --clean --config-file mkdocs.yml