diff --git a/.sdlcforge.json b/.sdlcforge.json new file mode 100644 index 0000000..f14ab0b --- /dev/null +++ b/.sdlcforge.json @@ -0,0 +1,53 @@ +{ + "_comment": "SDLC Forge configuration file for SDUtils", + "schema_version": "1.0", + "arch": "amd64", + "projects": [ + { + "type": "python", + "name": "SDUtils", + "path": "", + "runtime": { + "name": "python", + "version": "3.9" + }, + "build_tool": { + "name": "venv", + "version": "3.9" + }, + "dependency": { + "command": "python3.9 -m venv .venv && . .venv/bin/activate && pip install --upgrade pip && pip install 'numpy>=1.19,<2.0' && pip install -r requirements.txt" + }, + "build": { + "command": ". .venv/bin/activate && pip install build && python -m build" + }, + "tests": [ + { + "type": "unit", + "command": ". .venv/bin/activate && pip install pytest pytest-cov && pytest sd_utils/__tests__/ --cov=sd_utils --cov-report=xml:coverage-reports/coverage.xml --junitxml=test-reports/junit.xml -v" + } + ], + "artefacts": { + "source_code": [ + "sd_utils/" + ], + "test_code": [ + "sd_utils/__tests__/" + ], + "deliverable": [ + "dist/*.whl", + "dist/*.tar.gz" + ], + "dependency_manifests": [ + "requirements.txt" + ], + "tests_reports": [ + "test-reports/junit.xml" + ], + "coverage_reports": [ + "coverage-reports/coverage.xml" + ] + } + } + ] +}