Skip to content

Merge pull request #113 from siddhantgoel/dependabot/pip/taskipy-1.14.1 #266

Merge pull request #113 from siddhantgoel/dependabot/pip/taskipy-1.14.1

Merge pull request #113 from siddhantgoel/dependabot/pip/taskipy-1.14.1 #266

Workflow file for this run

name: flask-filealchemy
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Set up poetry
run: |
python -m pip install --upgrade poetry
poetry run pip install --upgrade pip setuptools
- name: Install dependencies
run: poetry install
- name: Lint with flake8
run: poetry run task lint-flake8
- name: Lint with black
run: poetry run task lint-black
- name: Test with pytest
run: poetry run task test