Skip to content
Snippets Groups Projects
Commit 273a01fa authored by nguyed99's avatar nguyed99
Browse files

Update pipeline

parent 70c0f470
No related branches found
No related tags found
No related merge requests found
Pipeline #58693 failed
stages:
- build
- test-jobs
- test-tasks
image: python:3.11-bullseye
variables:
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
cache:
key: "${CI_JOB_NAME}"
paths:
- .cache/pip
- .venv
build-env:
stage: build
before_script:
- pip install poetry
- poetry --version
- cd build/
- poetry install -vv
- cd ..
format:
script:
- pip install poetry
- poetry --version
- cd build/
- poetry config virtualenvs.in-project true
- poetry install -vv
- cd ..
- poetry run pre-commit install
- poetry run yapf -i -r -p .
- poetry run ruff .
- poetry run ruff . --fix
test-jobs:
stage: test-jobs
script:
- poetry run pytest jobs/tests/
test-tasks:
stage: test-tasks
script:
- poetry run pytest tasks/tests/
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment