Skip to content

Add ability to customize error messages #27

Add ability to customize error messages

Add ability to customize error messages #27

Workflow file for this run

name: Test
on: [push]
jobs:
test:
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 }}
- uses: actions/cache@v2
name: Configure pip caching
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install dependencies
run: |
pip install -e '.[test]'
- name: Run tests
run: |
pytest --cov-fail-under=100 --cov asgi_csrf
- name: Upload coverage to codecov.io
run: bash <(curl -s https://codecov.io/bash)
if: always()
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}