Skip to content

Change maximum text width to 69 characters #13

Change maximum text width to 69 characters

Change maximum text width to 69 characters #13

Workflow file for this run

name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
flask-version: ["2.1", "2.2"]
os: [ubuntu-latest]
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install packages
run: |
pip install . Flask==${{ matrix.flask-version}}
pip install .[test]
- name: Run mypy
run: |
mypy flask_gopher/ demo/
- name: Run pytest
run: |
pytest -v tests/