Skip to content

fix poetry

fix poetry #187

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8"]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/[email protected]
with:
python-version: ${{ matrix.python-version }}
- name: Install poetry
run: make download-poetry
- name: Set up cache
uses: actions/[email protected]
with:
path: ~/.cache/pypoetry/virtualenvs
key: venv-${{ matrix.python-version }}-${{ hashFiles('pyproject.toml') }}-${{ hashFiles('poetry.lock') }}
- name: Set Poetry Path
run: |
echo "$HOME/.poetry/bin" >> $GITHUB_PATH
- name: Install dependencies
run: |
poetry run pip install --upgrade pip
poetry install
#- name: Run safety checks
# run: |
# STRICT=1 make check-safety
#- name: Run style checks
# run: |
# STRICT=1 make check-style
- name: Run tests
run: |
make test