Bump psycopg2 from 2.9.5 to 2.9.9 #923
Workflow file for this run
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Ferry@CourseTable | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install system dependencies | |
run: sudo apt-get -y install graphviz libgraphviz-dev | |
- name: Install poetry | |
uses: snok/[email protected] | |
with: | |
version: 1.1.4 | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
- name: Load cached dependencies | |
id: cached-poetry-dependencies | |
uses: actions/cache@v2 | |
with: | |
path: .venv | |
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} | |
restore-keys: | | |
${{ runner.os }}-poetry- | |
- name: Install Python dependencies | |
run: poetry install | |
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true' | |
- name: Lint with black | |
run: | | |
poetry run black --check ./ferry | |
- name: Lint with isort | |
run: | | |
poetry run isort --check-only --diff ./ferry | |
- name: Lint with pylint | |
run: | | |
poetry run pylint ./ferry | |
- name: Type checking with mypy | |
run: | | |
poetry run mypy ferry |