Files
local-llm-prompt-manager/project_scaffold_cli/templates/ci/.gitlab-ci.yml.j2
Developer 155bc36ded fix: correct pyproject.toml for project-scaffold-cli
- Fixed package name from auto-readme-cli to project-scaffold-cli
- Fixed dependencies to match project-scaffold-cli requirements
- Fixed linting import sorting issues in test files
2026-02-05 11:49:49 +00:00

44 lines
614 B
Django/Jinja

stages:
- lint
- test
- build
lint:
stage: lint
image: python:3.11
script:
- pip install flake8 black
- flake8 .
- black --check .
only:
- main
- master
test:
stage: test
image: python:3.11
script:
- pip install -e ".[dev]"
- pytest -v --cov=.{{ project_slug }} --cov-report=html
artifacts:
reports:
junit: test-results.xml
paths:
- htmlcov/
only:
- main
- master
build:
stage: build
image: python:3.11
script:
- pip install build
- python -m build
artifacts:
paths:
- dist/
only:
- main
- tags