itw-python-builder 0.1.51__tar.gz → 0.1.52__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/PKG-INFO +1 -1
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder/tasks.py +5 -5
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder.egg-info/PKG-INFO +1 -1
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/pyproject.toml +1 -1
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/LICENSE +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/README.md +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder/.pylintrc +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder/__init__.py +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder/cli.py +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder/notify.py +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder/ssr_tasks.py +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder/templates/new_version_email.html +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder/templates/server.sitemap.snippet.ts +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder/templates/sitemap.routes.ts +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder/utils.py +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder/version.py +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder.egg-info/SOURCES.txt +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder.egg-info/dependency_links.txt +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder.egg-info/entry_points.txt +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder.egg-info/requires.txt +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder.egg-info/top_level.txt +0 -0
- {itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/setup.cfg +0 -0
|
@@ -378,14 +378,14 @@ def release(ctx: Context, skip_pipeline=False, ssr=False) -> None:
|
|
|
378
378
|
|
|
379
379
|
|
|
380
380
|
@task
|
|
381
|
-
def test(ctx: Context, settings='backend.test_settings'):
|
|
382
|
-
"""Run tests with coverage
|
|
381
|
+
def test(ctx: Context, settings='backend.test_settings', warn=False):
|
|
382
|
+
"""Run tests with coverage. --warn lets the pipeline continue and print coverage on failure."""
|
|
383
383
|
if detect_project_type() == 'frontend':
|
|
384
|
-
ctx.run('npx ng test --no-watch --code-coverage --browsers=ChromeHeadlessNoSandbox')
|
|
384
|
+
ctx.run('npx ng test --no-watch --code-coverage --browsers=ChromeHeadlessNoSandbox', warn=warn)
|
|
385
385
|
print("✓ Tests completed")
|
|
386
386
|
return
|
|
387
387
|
detect_and_activate_venv()
|
|
388
|
-
ctx.run(f'python -m coverage run manage.py test --settings={settings} --noinput -v 2')
|
|
388
|
+
ctx.run(f'python -m coverage run manage.py test --settings={settings} --noinput -v 2', warn=warn)
|
|
389
389
|
ctx.run('python -m coverage report -m')
|
|
390
390
|
ctx.run('python -m coverage xml -o coverage.xml')
|
|
391
391
|
print("✓ Tests completed")
|
|
@@ -479,7 +479,7 @@ def pipelinelocal(ctx: Context, settings='backend.test_settings', pylintrc=None)
|
|
|
479
479
|
print("\n" + "=" * 60)
|
|
480
480
|
print(f"Step {'2' if project_type == 'backend' else '1'}: Running tests...")
|
|
481
481
|
print("=" * 60)
|
|
482
|
-
step('tests', test, ctx, settings)
|
|
482
|
+
step('tests', test, ctx, settings, warn=True)
|
|
483
483
|
|
|
484
484
|
print("\n" + "=" * 60)
|
|
485
485
|
print(f"Step {'3' if project_type == 'backend' else '2'}: Running SonarQube analysis...")
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "itw_python_builder"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.52"
|
|
8
8
|
description = "Standardized Django deployment pipeline with Docker, testing, and SonarQube integration"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder.egg-info/entry_points.txt
RENAMED
|
File without changes
|
{itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder.egg-info/requires.txt
RENAMED
|
File without changes
|
{itw_python_builder-0.1.51 → itw_python_builder-0.1.52}/itw_python_builder.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|