mirror of
https://github.com/KevinMidboe/delugeClient.git
synced 2025-10-29 12:00:13 +00:00
test step indentation fking with lint
This commit is contained in:
90
.drone.yml
90
.drone.yml
@@ -8,23 +8,23 @@ platform:
|
|||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build source
|
- name: Build source
|
||||||
image: python:3.10
|
image: python:3.10
|
||||||
commands:
|
commands:
|
||||||
- make build
|
- make build
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
image: python:3.10
|
image: python:3.10
|
||||||
commands:
|
commands:
|
||||||
- make dist
|
- make dist
|
||||||
- pip3 install pipenv
|
- pip3 install pipenv
|
||||||
- install dist/delugeClient-kevin-*-py3-none-any.whl
|
- install dist/delugeClient-kevin-*-py3-none-any.whl
|
||||||
# - pipenv install pytest
|
# - pipenv install pytest
|
||||||
|
|
||||||
# - name: Run tests
|
# - name: Run tests
|
||||||
# image: python:3.10
|
# image: python:3.10
|
||||||
# commands:
|
# commands:
|
||||||
# pipenv run pytest
|
# pipenv run pytest
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
@@ -36,46 +36,46 @@ platform:
|
|||||||
arch: arm64
|
arch: arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Build source
|
- name: Build source
|
||||||
image: python:3.10
|
image: python:3.10
|
||||||
commands:
|
commands:
|
||||||
- make build
|
- make build
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
image: python:3.10
|
image: python:3.10
|
||||||
commands:
|
commands:
|
||||||
- make dist
|
- make dist
|
||||||
- pip3 install pipenv
|
- pip3 install pipenv
|
||||||
- install dist/delugeClient-kevin-*-py3-none-any.whl
|
- install dist/delugeClient-kevin-*-py3-none-any.whl
|
||||||
# - pipenv install pytest
|
# - pipenv install pytest
|
||||||
|
|
||||||
# - name: Run tests
|
# - name: Run tests
|
||||||
# image: python:3.10
|
# image: python:3.10
|
||||||
# commands:
|
# commands:
|
||||||
# pipenv run pytest
|
# pipenv run pytest
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: publish package to PyPi
|
name: Publish package to PyPi
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Test PyPi publish
|
- name: Test PyPi publish
|
||||||
image: python:3.10
|
image: python:3.10
|
||||||
commands:
|
commands:
|
||||||
- make dist
|
- make dist
|
||||||
- pip3 install pipenv
|
- pip3 install pipenv
|
||||||
- pipenv install twine
|
- pipenv install twine
|
||||||
- pipenv run twine upload --repository delugeClient-kevin dist/*
|
- pipenv run twine upload --repository delugeClient-kevin dist/*
|
||||||
|
|
||||||
- name: Test PyPi publish
|
- name: PyPi publish
|
||||||
image: python:3.10
|
image: python:3.10
|
||||||
commands:
|
commands:
|
||||||
- make dist
|
- make dist
|
||||||
- pip3 install pipenv
|
- pip3 install pipenv
|
||||||
- pipenv install twine
|
- pipenv install twine
|
||||||
# - pipenv run twine upload dist/*
|
# - pipenv run twine upload dist/*
|
||||||
|
|||||||
Reference in New Issue
Block a user