fix: another test
continuous-integration/drone/push Build was killed Details

This commit is contained in:
William Luke 2022-02-23 10:01:52 +03:00
parent f75c44cc1c
commit 2fd72c199b
1 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@
################ ################
kind: pipeline kind: pipeline
name: run_tests name: test
type: docker type: docker
steps: steps:
@ -36,23 +36,23 @@ steps:
- name: cd - name: cd
image: python:3.7.2 image: python:3.7.2
commands: commands:
# Install dependencies - git fetch
- pip install --no-cache-dir poetry - pip install --no-cache-dir poetry
- poetry install - poetry install
- poetry run semantic-release publish - poetry run semantic-release publish
environment: environment:
LOGLEVEL: info LOGLEVEL: info
GITEA_TOKEN: GITEA_TOKEN:
from_secret: gitea_token from_secret: gitea_token
volumes: volumes:
- name: poetry_cache - name: poetry_cache
path: /root/.cache/pypoetry path: /root/.cache/pypoetry
when: when:
branch: branch:
- main - main
depends_on: depends_on:
- run_tests - test
volumes: volumes:
- name: poetry_cache - name: poetry_cache
host: host:
path: /tmp/cache/drone/pypoetry path: /tmp/cache/drone/pypoetry