This repository has been archived by the owner on Dec 26, 2023. It is now read-only.
Add more deprecation warnings #148
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: Python package | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.x | |
uses: actions/setup-python@v2 | |
with: | |
python-version: "3.8" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
pip install . | |
- name: Run linter | |
run: pflake8 turbo | |
- name: Run formatter | |
run: black -S --target-version=py38 --line-length=100 --check . --exclude "doc|migrations" | |
- name: Run unit tests | |
run: pytest tests |