Merge pull request #106 from siddhantgoel/dependabot/pip/pytest-7.4.4 #243
This file contains 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-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: make lint-flake8 | |
- name: Lint with black | |
run: make lint-black | |
- name: Test with pytest | |
run: make test |