Skip to content

Removed shared workspaces to improve compatibility (fixes #517) #183

Removed shared workspaces to improve compatibility (fixes #517)

Removed shared workspaces to improve compatibility (fixes #517) #183

Workflow file for this run

name: "MyPy + Flake8"
on: [pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: 3.9.5
- name: Install pipenv
run: pip install pipenv==2021.5.29
- id: cache-pipenv
uses: actions/cache@v2
with:
path: ~/.local/share/virtualenvs
key: ${{ runner.os }}-pipenv-${{ hashFiles('**/Pipfile.lock') }}
- name: Install package
if: steps.cache-pipenv.outputs.cache-hit != 'true'
run: |
pipenv install -e .
pipenv install --dev -r requirements.dev.txt
- name: Flake8
run: pipenv run flake8 src
- name: MyPy
run: pipenv run mypy src