Skip to content

fix: disable CSRF in test fixture — v1.3.0 added CSRFProtect which br… #12

fix: disable CSRF in test fixture — v1.3.0 added CSRFProtect which br…

fix: disable CSRF in test fixture — v1.3.0 added CSRFProtect which br… #12

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install flake8
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Run pytest
run: |
pytest tests/ -v --tb=short
env:
SECRET_KEY: test-secret-key-for-ci
FLASK_DEBUG: "false"