This commit is contained in:
Robert Kaussow 2023-08-22 21:27:12 +02:00
parent d4c82ba6a2
commit b6f05ea113
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
4 changed files with 6 additions and 63 deletions

View File

@ -69,6 +69,6 @@ steps:
branch:
- ${CI_REPO_DEFAULT_BRANCH}
depends_on:
- lint
- test
# depends_on:
# - lint
# - test

View File

@ -58,6 +58,6 @@ steps:
when:
- event: [tag]
depends_on:
- lint
- test
# depends_on:
# - lint
# - test

View File

@ -1,27 +0,0 @@
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
steps:
check-format:
image: docker.io/library/python:3.11
commands:
- git fetch -tq
- pip install poetry poetry-dynamic-versioning -qq
- poetry install
- poetry run yapf -dr ./gitbatch
environment:
PY_COLORS: "1"
check-coding:
image: docker.io/library/python:3.11
commands:
- git fetch -tq
- pip install poetry poetry-dynamic-versioning -qq
- poetry install
- poetry run ruff ./gitbatch
environment:
PY_COLORS: "1"

View File

@ -1,30 +0,0 @@
---
when:
- event: [pull_request, tag]
- event: [push, manual]
branch:
- ${CI_REPO_DEFAULT_BRANCH}
matrix:
PYTHON_VERSION:
- 3.7
- 3.8
- 3.9
- 3.10
- 3.11
steps:
fetch:
image: docker.io/library/python:3.11
commands:
- git fetch -tq
pytest:
image: docker.io/library/python:${PYTHON_VERSION}
commands:
- pip install poetry poetry-dynamic-versioning -qq
- poetry install
- poetry version
- poetry run git-batch --help
environment:
PY_COLORS: "1"