From d0043f3f18bbacc8809e58ae27f4fb55ff088554 Mon Sep 17 00:00:00 2001 From: Marcel Nijenhof Date: Sun, 2 Jan 2022 23:45:44 +0100 Subject: [PATCH] Upload pypi test --- .drone.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index afae2bd..31ff458 100644 --- a/.drone.yml +++ b/.drone.yml @@ -114,7 +114,9 @@ steps: - name: Build package files commands: - python3 -m build - + - name: Run final test after build + commands: + - tox - name: Versie toevoegen aan download environment: DOWNLOADDIR: /usr/share/nginx/html/download/python/lmwsip @@ -133,6 +135,14 @@ steps: fi done - ls -l "$${DOWNLOADDIR}" + - name: Versie upload naar pypi test + environment: + TWINE_USERNAME: + from_secret: twine_username + TWINE_PASSWORD: + from_secret: twine_password + commands: + - python3 -m twine upload --repository testpypi dist/* when: branch: - master