This repository was archived by the owner on May 13, 2025. It is now read-only.
[Snyk] Security upgrade jinja2 from 2.11.3 to 3.1.5 #167
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Flask | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ${{ matrix.platform }} | |
strategy: | |
max-parallel: 4 | |
matrix: | |
python-version: [3.6, 3.7, 3.8] | |
platform: [windows-latest, macos-latest, ubuntu-latest] | |
env: | |
FLASK_ENV: testing | |
SECRET_KEY: no-secret | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v1 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install Dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run Linter | |
run: | | |
flake8 | |
- name: Run Tests | |
run: | | |
cp .env.example .env | |
python test.py |