feat(config/toml): support jinja templates in toml files #69315
build.yml
on: pull_request
Annotations
38 errors and 16 warnings
util/toml › should parse content with templates:
lib/util/toml.ts#L17
TypeError: String.prototype.replaceAll called with a non-global RegExp argument
at String.replaceAll (<anonymous>)
at replaceAll (lib/util/toml.ts:17:8)
at massageContent (lib/util/toml.ts:9:27)
at Object.<anonymous> (lib/util/toml.spec.ts:43:21)
|
test (15/16)
Process completed with exit code 1.
|
test (10/16)
The job was canceled because "ubuntu-latest_true_tes_15" failed.
|
test (2/16)
The job was canceled because "ubuntu-latest_true_tes_15" failed.
|
test (2/16)
The operation was canceled.
|
test (4/16)
The job was canceled because "ubuntu-latest_true_tes_15" failed.
|
test (4/16)
The operation was canceled.
|
test (13/16)
The job was canceled because "ubuntu-latest_true_tes_15" failed.
|
test (13/16)
The operation was canceled.
|
test (3/16)
The job was canceled because "ubuntu-latest_true_tes_15" failed.
|
test (3/16)
The operation was canceled.
|
test (1/16)
The job was canceled because "ubuntu-latest_true_tes_15" failed.
|
test (1/16)
The operation was canceled.
|
test (16/16)
The job was canceled because "ubuntu-latest_true_tes_15" failed.
|
test (16/16)
The operation was canceled.
|
test (6/16)
The job was canceled because "ubuntu-latest_true_tes_15" failed.
|
modules/manager/pep621/extract › extractPackageFile() › should return dependencies for valid content:
lib/modules/manager/pep621/extract.spec.ts#L34
expect(received).toMatchObject(expected)
Matcher error: received value must be a non-null object
Received has value: null
at Object.<anonymous> (lib/modules/manager/pep621/extract.spec.ts:34:22)
|
modules/manager/pep621/extract › extractPackageFile() › should return dependencies with overwritten pypi registryUrl:
lib/modules/manager/pep621/extract.spec.ts#L238
expect(received).toEqual(expected) // deep equality
Expected: [{"datasource": "pypi", "depName": "blinker", "depType": "project.dependencies", "packageName": "blinker", "registryUrls": ["https://private-site.org/pypi/simple", "https://private.pypi.org/simple"], "skipReason": "unspecified-version"}, {"currentValue": ">=20.9,!=22.0", "datasource": "pypi", "depName": "packaging", "depType": "project.dependencies", "packageName": "packaging", "registryUrls": ["https://private-site.org/pypi/simple", "https://private.pypi.org/simple"]}, {"currentValue": ">12", "datasource": "pypi", "depName": "pytest", "depType": "project.optional-dependencies", "managerData": {"depGroup": "pytest"}, "packageName": "pytest", "registryUrls": ["https://private-site.org/pypi/simple", "https://private.pypi.org/simple"]}, {"currentValue": ">=10.2", "datasource": "pypi", "depName": "pytest-rerunfailures", "depType": "tool.pdm.dev-dependencies", "managerData": {"depGroup": "test"}, "packageName": "pytest-rerunfailures", "registryUrls": ["https://private-site.org/pypi/simple", "https://private.pypi.org/simple"]}, {"currentValue": ">=0.5", "datasource": "pypi", "depName": "tox-pdm", "depType": "tool.pdm.dev-dependencies", "managerData": {"depGroup": "tox"}, "packageName": "tox-pdm", "registryUrls": ["https://private-site.org/pypi/simple", "https://private.pypi.org/simple"]}]
Received: undefined
at Object.<anonymous> (lib/modules/manager/pep621/extract.spec.ts:238:28)
|
modules/manager/pep621/extract › extractPackageFile() › should return dependencies with original pypi registryUrl:
lib/modules/manager/pep621/extract.spec.ts#L316
expect(received).toEqual(expected) // deep equality
Expected: [{"currentValue": ">=20.9,!=22.0", "datasource": "pypi", "depName": "packaging", "depType": "project.dependencies", "packageName": "packaging", "registryUrls": ["https://pypi.org/pypi/", "https://private-site.org/pypi/simple"]}]
Received: undefined
at Object.<anonymous> (lib/modules/manager/pep621/extract.spec.ts:316:28)
|
modules/manager/pep621/extract › extractPackageFile() › should skip dependencies with unsupported uv sources:
lib/modules/manager/pep621/extract.spec.ts#L355
expect(received).toMatchObject(expected)
Matcher error: received value must be a non-null object
Received has value: undefined
at Object.<anonymous> (lib/modules/manager/pep621/extract.spec.ts:355:28)
|
modules/manager/pep621/extract › extractPackageFile() › should extract dependencies from hatch environments:
lib/modules/manager/pep621/extract.spec.ts#L397
expect(received).toEqual(expected) // deep equality
Expected: [{"currentValue": "==2.30.0", "currentVersion": "2.30.0", "datasource": "pypi", "depName": "requests", "depType": "project.dependencies", "packageName": "requests"}, {"datasource": "pypi", "depName": "hatchling", "depType": "build-system.requires", "packageName": "hatchling", "skipReason": "unspecified-version"}, {"currentValue": "==6.5", "currentVersion": "6.5", "datasource": "pypi", "depName": "coverage", "depType": "tool.hatch.envs.default", "packageName": "coverage"}, {"datasource": "pypi", "depName": "pytest", "depType": "tool.hatch.envs.default", "packageName": "pytest", "skipReason": "unspecified-version"}, {"currentValue": ">=23.1.0", "datasource": "pypi", "depName": "black", "depType": "tool.hatch.envs.lint", "packageName": "black"}, {"datasource": "pypi", "depName": "baz", "depType": "tool.hatch.envs.experimental", "packageName": "baz", "skipReason": "unspecified-version"}]
Received: undefined
at Object.<anonymous> (lib/modules/manager/pep621/extract.spec.ts:397:28)
|
modules/manager/pep621/extract › extractPackageFile() › should extract project version:
lib/modules/manager/pep621/extract.spec.ts#L454
expect(received).toBe(expected) // Object.is equality
Expected: "0.0.2"
Received: undefined
at Object.<anonymous> (lib/modules/manager/pep621/extract.spec.ts:454:39)
|
modules/manager/pep621/extract › extractPackageFile() › should extract dependencies from build-system.requires:
lib/modules/manager/pep621/extract.spec.ts#L470
expect(received).toEqual(expected) // deep equality
Expected: [{"currentValue": "==2.30.0", "currentVersion": "2.30.0", "datasource": "pypi", "depName": "requests", "depType": "project.dependencies", "packageName": "requests"}, {"currentValue": "==1.18.0", "currentVersion": "1.18.0", "datasource": "pypi", "depName": "hatchling", "depType": "build-system.requires", "packageName": "hatchling"}, {"currentValue": "==69.0.3", "currentVersion": "69.0.3", "datasource": "pypi", "depName": "setuptools", "depType": "build-system.requires", "packageName": "setuptools"}]
Received: undefined
at Object.<anonymous> (lib/modules/manager/pep621/extract.spec.ts:470:28)
|
modules/manager/pep621/extract › extractPackageFile() › should resolve lockedVersions from pdm.lock:
lib/modules/manager/pep621/extract.spec.ts#L507
expect(received).toMatchObject(expected)
Matcher error: received value must be a non-null object
Received has value: null
at Object.<anonymous> (lib/modules/manager/pep621/extract.spec.ts:507:19)
|
modules/manager/pep621/extract › extractPackageFile() › should resolve lockedVersions from uv.lock:
lib/modules/manager/pep621/extract.spec.ts#L567
expect(received).toMatchObject(expected)
Matcher error: received value must be a non-null object
Received has value: null
at Object.<anonymous> (lib/modules/manager/pep621/extract.spec.ts:567:19)
|
modules/manager/pep621/extract › extractPackageFile() › should resolve dependencies without locked versions on invalid uv.lock:
lib/modules/manager/pep621/extract.spec.ts#L595
expect(received).toMatchObject(expected)
Matcher error: received value must be a non-null object
Received has value: null
at Object.<anonymous> (lib/modules/manager/pep621/extract.spec.ts:595:19)
|
test (12/16)
The job was canceled because "ubuntu-latest_true_tes_15" failed.
|
test (12/16)
The operation was canceled.
|
test (9/16)
The job was canceled because "ubuntu-latest_true_tes_15" failed.
|
test (9/16)
The operation was canceled.
|
test (5/16)
The job was canceled because "ubuntu-latest_true_tes_15" failed.
|
test (5/16)
The operation was canceled.
|
test (11/16)
The job was canceled because "ubuntu-latest_true_tes_15" failed.
|
test (11/16)
The operation was canceled.
|
test (7/16)
The job was canceled because "ubuntu-latest_true_tes_15" failed.
|
test (7/16)
The operation was canceled.
|
coverage-threshold
Process completed with exit code 1.
|
test-success
Process completed with exit code 1.
|
setup-build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
setup
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
prefetch (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint-prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint-docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint-eslint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (8/16)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (14/16)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint-other
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (15/16)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
codecov
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build-docs
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
coverage-threshold
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-success
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-e2e
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-git-2
|
942 KB |
|
coverage-util
|
967 KB |
|
coverage-versioning
|
967 KB |
|
coverage-workers-2
|
977 KB |
|
docs
|
2.01 MB |
|
renovate-package
|
2.48 MB |
|