use ci vars if possible

This commit is contained in:
Robert Kaussow 2023-08-24 22:35:47 +02:00
parent f72b81bae2
commit 6b0f188c72
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ steps:
- git fetch -tq
- pip install poetry poetry-dynamic-versioning -qq
- poetry install
- poetry run yapf -dr ./gitbatch
- poetry run yapf -dr ./${CI_REPO_NAME//-/}
environment:
PY_COLORS: "1"
@ -22,6 +22,6 @@ steps:
- git fetch -tq
- pip install poetry poetry-dynamic-versioning -qq
- poetry install
- poetry run ruff ./gitbatch
- poetry run ruff ./${CI_REPO_NAME//-/}
environment:
PY_COLORS: "1"

View File

@ -25,6 +25,6 @@ steps:
- pip install poetry poetry-dynamic-versioning -qq
- poetry install
- poetry version
- poetry run git-batch --help
- poetry run ${CI_REPO_NAME} --help
environment:
PY_COLORS: "1"