Compare commits

...

2 Commits

Author SHA1 Message Date
31f14aac47 fix: test semver publish
Some checks failed
continuous-integration/drone/pr Build is pending
continuous-integration/drone/push Build is failing
2022-02-03 14:00:47 +03:00
7be6157d91 ci: clean up 2022-02-03 13:43:15 +03:00
3 changed files with 21 additions and 8 deletions

View File

@ -14,21 +14,28 @@ 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
- 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
path: /root/.cache/pypoetry
volumes:
- name: pip_cache
host:
path: /tmp/cache/drone/pip
- name: poetry_cache
host:
path: /tmp/cache/drone/pypoetry

View File

@ -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
```
```

2
rsync.sh Normal file
View File

@ -0,0 +1,2 @@
# rsync -r ./dist/ root@root.grassrootseconomics.net:/usr/local/share/python/packages/
rsync -r ./dist/ root@vultr.williamluke.dev:/root/