From f004803b590d61ad3458e5796650fd127961c911 Mon Sep 17 00:00:00 2001 From: nguyed99 <nguyed99@zedat.fu-berlin.de> Date: Fri, 19 Jan 2024 23:25:58 +0100 Subject: [PATCH] Update pipeline --- .gitlab-ci.yml | 15 +-------------- build/pyproject.toml | 2 -- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2bf8cef..7693c17 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,6 @@ image: python:3.11-bullseye stages: - build - - format - test-jobs - test-tasks @@ -21,23 +20,11 @@ build-env: - cd build/ - poetry config virtualenvs.in-project true - poetry install --no-root - - poetry run pip install poetry + # - poetry run pip install poetry artifacts: paths: - $POETRY_CACHE_DIR/virtualenvs/ -format: - stage: format - script: - - export VIRTUALENV_NAME=$(ls $POETRY_CACHE_DIR/virtualenvs) - - echo $VIRTUALENV_NAME - - source $POETRY_CACHE_DIR/virtualenvs/$VIRTUALENV_NAME/bin/activate - - which poetry # Check if poetry is in the PATH - - poetry run pre-commit install - - poetry run yapf -i -r -p . - - poetry run ruff . - - poetry run ruff . --fix - test-jobs: stage: test-jobs script: diff --git a/build/pyproject.toml b/build/pyproject.toml index 1126f1a..1404e08 100644 --- a/build/pyproject.toml +++ b/build/pyproject.toml @@ -9,8 +9,6 @@ readme = "README.md" python = ">=3.10" numpy = "~1.24" pytest = "^7.4.4" -pre-commit = "^3.3.1" - [build-system] requires = ["poetry-core"] -- GitLab