From f4d427b0e8f472481c82394f8941b4e58859fa89 Mon Sep 17 00:00:00 2001 From: yusyus Date: Wed, 14 Jan 2026 23:25:39 +0300 Subject: [PATCH] ci: Initialize git submodules in GitHub Actions workflow Fix test failure for test_cli_all_flag_lists_configs by ensuring api/configs_repo submodule is initialized during checkout. The test expects configs in api/configs_repo/official/ but the submodule was not being initialized, causing the directory to be empty and the test to fail. Related: - Commit 1cbb8fe: Added api/configs_repo as git submodule - Commit f5f37f6: Updated render.yaml for Render deployment This completes the submodule integration for both: - Production (Render API deployment) - CI/CD (GitHub Actions tests) Fixes: FAILED tests/test_estimate_pages.py::TestEstimatePagesCLI::test_cli_all_flag_lists_configs --- .github/workflows/tests.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e7a15e2..2611c9d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,6 +21,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + submodules: recursive # Initialize api/configs_repo submodule - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4