Skip to content

Bump jinja2 from 3.1.3 to 3.1.4 #106

Bump jinja2 from 3.1.3 to 3.1.4

Bump jinja2 from 3.1.3 to 3.1.4 #106

name: Python package
on:
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v3
with:
python-version: 3.8
- name: Install dependencies
run: |
sudo apt update && sudo apt install -y gcc libmariadb-dev libmariadb3
python -m pip install --upgrade pip
pip install flake8 pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude lib,python3
- name: Run tests
run: |
cp src/.env.docker src/.env
coverage run -m pytest .
coverage report