Skip to content

build: bump jinja2 from 3.1.4 to 3.1.5 #1477

build: bump jinja2 from 3.1.4 to 3.1.5

build: bump jinja2 from 3.1.4 to 3.1.5 #1477

Workflow file for this run

name: Code
on:
pull_request:
jobs:
lint:
name: Python Linting
strategy:
matrix:
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
cache: pip
cache-dependency-path: |
pyproject.toml
requirements.txt
- name: Cache venv
uses: actions/[email protected]
with:
path: .venv
key: venv-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml','requirements.txt') }}
- run: echo "PRE_COMMIT_HOME=$Env:GITHUB_WORKSPACE/.cache/pre-commit" >> "$Env:GITHUB_ENV"
if: ${{ startsWith(matrix.os, 'windows') }}
- run: echo "PRE_COMMIT_HOME=$GITHUB_WORKSPACE/.cache/pre-commit" >> "$GITHUB_ENV"
if: ${{ !startsWith(matrix.os, 'windows') }}
- name: Cache pre-commit
uses: actions/[email protected]
with:
path: ${{ env.PRE_COMMIT_HOME }}
key: pre-commit-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('.pre-commit-config.yaml') }}
- name: Install just
uses: extractions/setup-just@v1
with:
just-version: '1.13.0'
- name: Create virtual env, install requirements
run: just deps
- name: Check commit messages
run: just _check-commit-range "refs/remotes/origin/${{ github.base_ref }}..HEAD"
- name: Check linting, formatting, types
run: just --set verbose_errors true -- check-codestyle
test:
name: Python Tests
strategy:
fail-fast: true
matrix:
os: ["ubuntu-latest", "windows-latest"]
python-version: ["3.10"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "${{ matrix.python-version }}"
cache: pip
cache-dependency-path: |
pyproject.toml
requirements.txt
- name: Set up Doxygen
uses: ssciwr/[email protected]
with:
version: 1.9.8
- name: Set up Graphviz
uses: ts-graphviz/[email protected]
with:
ubuntu-graphviz-version: 2.42.2-6
windows-graphviz-version: '9.0.0'
- name: Cache venv
uses: actions/[email protected]
with:
path: .venv
key: venv-${{ matrix.os }}-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml','requirements.txt') }}
- name: Install just
uses: extractions/setup-just@v1
with:
just-version: '1.13.0'
- name: Create virtual env, install requirements
run: just deps
- name: Install
run: just install
- name: Run tests
run: just test