Compare commits
No commits in common. "31f14aac4762e0a4f45d962c9d24dcfda97d10c2" and "1e0f9c2456ed612f36c663ff737fd80fe43bc7f4" have entirely different histories.
31f14aac47
...
1e0f9c2456
21
.drone.yml
21
.drone.yml
@ -14,28 +14,21 @@ steps:
|
|||||||
# Install dependencies
|
# Install dependencies
|
||||||
- pip install --no-cache-dir poetry
|
- pip install --no-cache-dir poetry
|
||||||
- poetry install
|
- poetry install
|
||||||
|
- poetry config --list
|
||||||
- poetry run pytest
|
- poetry run pytest
|
||||||
environment:
|
environment:
|
||||||
LOGLEVEL: info
|
LOGLEVEL: info
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: poetry_cache
|
# Mount pip cache from host
|
||||||
path: /root/.cache/pypoetry
|
- name: pip_cache
|
||||||
|
path: /root/.cache/pip
|
||||||
- name: publish
|
|
||||||
image: python:3.7.2
|
|
||||||
commands:
|
|
||||||
# Install dependencies
|
|
||||||
- pip install --no-cache-dir poetry
|
|
||||||
- poetry install
|
|
||||||
- poetry run semantic-release publish --noop
|
|
||||||
environment:
|
|
||||||
LOGLEVEL: info
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: poetry_cache
|
- name: poetry_cache
|
||||||
path: /root/.cache/pypoetry
|
path: /root/.cache/pypoetry
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: pip_cache
|
||||||
|
host:
|
||||||
|
path: /tmp/cache/drone/pip
|
||||||
- name: poetry_cache
|
- name: poetry_cache
|
||||||
host:
|
host:
|
||||||
path: /tmp/cache/drone/pypoetry
|
path: /tmp/cache/drone/pypoetry
|
||||||
|
|||||||
@ -4,12 +4,8 @@
|
|||||||
## Development
|
## Development
|
||||||
### Requirements
|
### Requirements
|
||||||
- [poetry](https://python-poetry.org/docs/#installation)
|
- [poetry](https://python-poetry.org/docs/#installation)
|
||||||
- `poetry install`
|
|
||||||
|
|
||||||
### Testing
|
### Testing
|
||||||
```
|
```
|
||||||
poetry run pytest
|
bash ./tests/run_tests.sh
|
||||||
```
|
|
||||||
### Publishing
|
|
||||||
```
|
|
||||||
```
|
```
|
||||||
Loading…
Reference in New Issue
Block a user