diff --git a/tools/ci/pipeline-baseline-fri.yml b/tools/ci/pipeline-baseline-fri.yml index 6fa4583..8d1ca3b 100644 --- a/tools/ci/pipeline-baseline-fri.yml +++ b/tools/ci/pipeline-baseline-fri.yml @@ -44,7 +44,7 @@ pre-commit: - .base-job-rules stage: quality-check script: - - pip install . -t $PWD + - pip install tools/ci -t $PWD - apt-get update -y - apt-get install fd-find -y - cp $PWD/bin/banned-api-hook $PWD/banned-api-hook @@ -83,6 +83,7 @@ check-changelog-addition: - git fetch origin ${CI_MERGE_REQUEST_TARGET_BRANCH_NAME} - > towncrier check + --config tools/ci/pyproject.toml --compare-with origin/${CI_MERGE_REQUEST_TARGET_BRANCH_NAME} ######################## diff --git a/pyproject.toml b/tools/ci/pyproject.toml similarity index 81% rename from pyproject.toml rename to tools/ci/pyproject.toml index 79167b4..fa06b3f 100644 --- a/pyproject.toml +++ b/tools/ci/pyproject.toml @@ -3,12 +3,13 @@ requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"] build-backend = "setuptools.build_meta" [tool.setuptools_scm] local_scheme = "no-local-version" +root = "../.." [tool.towncrier] ignore = [".gitkeep"] -directory = "release_changes" +directory = "../../release_changes" filename = "CHANGELOG.md" -template = "tools/ci/towncrier/template.rst" +template = "towncrier/template.rst" [[tool.towncrier.type]] directory = "change" diff --git a/setup.cfg b/tools/ci/setup.cfg similarity index 100% rename from setup.cfg rename to tools/ci/setup.cfg