Added poetry integration.
Description: * Fixed github actions; * Removed requirements.txt; * Fixed CONTRIBUTING.md; * Fixed black and flake8. Signed-off-by: Pavel <win10@list.ru>
This commit is contained in:
8
.github/workflows/test-package.yml
vendored
8
.github/workflows/test-package.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
matrix:
|
||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
||||
fail-fast: false
|
||||
|
||||
|
||||
services:
|
||||
mysql:
|
||||
image: mysql:5.7
|
||||
@ -50,8 +50,10 @@ jobs:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install pip==21.0.1
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
python -m pip install poetry==1.1.11
|
||||
poetry install
|
||||
env:
|
||||
POETRY_VIRTUALENVS_CREATE: false
|
||||
- name: Run mysql
|
||||
env:
|
||||
DATABASE_URL: "mysql://username:password@127.0.0.1:3306/testsuite"
|
||||
|
||||
Reference in New Issue
Block a user