Repair Gitea Actions bootstrap and module matrix
This commit is contained in:
@@ -141,6 +141,15 @@ def test_pytest_style_function():
|
||||
self.assertIn('--core-root "$ROOT"', script)
|
||||
self.assertNotIn('"$PYTHON" -m unittest tests.test_module_system', script)
|
||||
|
||||
def test_module_matrix_installs_search_before_postgres_validation(self) -> None:
|
||||
meta_root = Path(__file__).resolve().parents[1]
|
||||
workflow = (meta_root / ".gitea" / "workflows" / "module-matrix.yml").read_text(encoding="utf-8")
|
||||
|
||||
install = workflow.index("pip install --no-deps ../govoplan-search")
|
||||
validation = workflow.index("Validate Search against PostgreSQL")
|
||||
|
||||
self.assertLess(install, validation)
|
||||
|
||||
def test_release_workflow_installs_tagged_source_test_harness(self) -> None:
|
||||
meta_root = Path(__file__).resolve().parents[1]
|
||||
workflow = (meta_root / ".gitea" / "workflows" / "release-integration.yml").read_text(encoding="utf-8")
|
||||
|
||||
Reference in New Issue
Block a user