From 6ff7c9750a9641a291b380c6b3a492417a05a186 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Sun, 3 Mar 2024 18:04:01 -0300 Subject: Fixed typo --- .gitlab-ci.yml | 20 ++++++++++++++++++++ gitlab-ci.yml | 20 -------------------- 2 files changed, 20 insertions(+), 20 deletions(-) create mode 100644 .gitlab-ci.yml delete mode 100644 gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..350b74e --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,20 @@ +image: python:latest + +lint: + stage: test + before_script: + - pip install poetry + - poetry install --no-root + script: + - poetry run ruff check ./src + - poetry run ruff format --check ./src + +deploy_to_pypi: + stage: deploy + only: + - master + before_script: + - pip install poetry + - poetry install --no-root + script: + - POETRY_PYPI_TOKEN_PYPI=$PYPI_PASSWORD poetry publish --build diff --git a/gitlab-ci.yml b/gitlab-ci.yml deleted file mode 100644 index 350b74e..0000000 --- a/gitlab-ci.yml +++ /dev/null @@ -1,20 +0,0 @@ -image: python:latest - -lint: - stage: test - before_script: - - pip install poetry - - poetry install --no-root - script: - - poetry run ruff check ./src - - poetry run ruff format --check ./src - -deploy_to_pypi: - stage: deploy - only: - - master - before_script: - - pip install poetry - - poetry install --no-root - script: - - POETRY_PYPI_TOKEN_PYPI=$PYPI_PASSWORD poetry publish --build -- cgit v1.2.3