test step indentation fking with lint

This commit is contained in:
2022-11-24 22:40:30 +01:00
parent 3fa8c4b18f
commit 30c3e117da

View File

@@ -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/*