Fix runtime distribution signing environment
This commit is contained in:
@@ -29,6 +29,20 @@ FINALIZE = _load(
|
||||
|
||||
|
||||
class RuntimeDistributionBuildTests(unittest.TestCase):
|
||||
def test_workflow_signs_with_the_release_environment(self) -> None:
|
||||
workflow = (ROOT / ".gitea/workflows/runtime-distribution.yml").read_text(
|
||||
encoding="utf-8"
|
||||
)
|
||||
|
||||
self.assertIn(
|
||||
".runtime-build/bin/python tools/release/generate-runtime-distribution.py",
|
||||
workflow,
|
||||
)
|
||||
self.assertNotIn(
|
||||
"\n python tools/release/generate-runtime-distribution.py",
|
||||
workflow,
|
||||
)
|
||||
|
||||
def test_resolves_platforms_and_builds_evidence_descriptor(self) -> None:
|
||||
index = {
|
||||
"schemaVersion": 2,
|
||||
|
||||
Reference in New Issue
Block a user