From 7be6157d91d425dc4dc1725c6d55ba1e81f59776 Mon Sep 17 00:00:00 2001 From: William Luke Date: Thu, 3 Feb 2022 13:43:15 +0300 Subject: [PATCH] ci: clean up --- .drone.yml | 8 +------- Readme.md | 6 +++++- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index f5c43b2..4e6fb6a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,21 +14,15 @@ steps: # Install dependencies - pip install --no-cache-dir poetry - poetry install - - poetry config --list - poetry run pytest environment: LOGLEVEL: info volumes: - # Mount pip cache from host - - name: pip_cache - path: /root/.cache/pip - name: poetry_cache path: /root/.cache/pypoetry + volumes: - - name: pip_cache - host: - path: /tmp/cache/drone/pip - name: poetry_cache host: path: /tmp/cache/drone/pypoetry diff --git a/Readme.md b/Readme.md index b963b98..32a7a20 100644 --- a/Readme.md +++ b/Readme.md @@ -4,8 +4,12 @@ ## Development ### Requirements - [poetry](https://python-poetry.org/docs/#installation) + - `poetry install` ### Testing ``` -bash ./tests/run_tests.sh +poetry run pytest +``` +### Publishing +``` ``` \ No newline at end of file