Skip to content

Commit 7fa67d7

Browse files
committed
[red] require full history in firmware host CI
Signed-off-by: Viwat Vchirawongkwin <viwat.v@chula.ac.th>
1 parent 38804a8 commit 7fa67d7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎tests/publication/test_ci_contract.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010

1111

1212
class CiContractTest(unittest.TestCase):
13-
def test_firmware_host_checks_out_pinned_submodules(self) -> None:
13+
def test_firmware_host_checks_out_full_history_and_pinned_submodules(
14+
self,
15+
) -> None:
1416
workflow = (REPO_ROOT / ".github" / "workflows" / "ci.yml").read_text(
1517
encoding="utf-8"
1618
)
@@ -21,6 +23,7 @@ def test_firmware_host_checks_out_pinned_submodules(self) -> None:
2123
self.assertIn(
2224
" - uses: actions/checkout@v4\n"
2325
" with:\n"
26+
" fetch-depth: 0\n"
2427
" submodules: true\n",
2528
firmware_host,
2629
)

0 commit comments

Comments
 (0)