Skip to content

Commit e27a34f

Browse files
author
Automated Bot
committed
Install transitland-lib for the tests that build a registry
Eight of the registry tests shell out to `transitland sync` through atlas_registry.load(). They passed locally because the binary is on PATH there and failed on the first CI run, which is what the workflow was added to catch.
1 parent fb8e921 commit e27a34f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/test-scripts.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2222
- uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7
23+
# atlas_registry.load() builds its index by shelling out to `transitland
24+
# sync`, so the registry tests need the binary even though everything
25+
# else in the suite is pure.
26+
- name: Install transitland-lib
27+
run: scripts/install-transitland-lib.sh
2328
# Run from the repository root so uv resolves pyproject.toml: the tests
2429
# import scan-feed-sources, which imports requests, and that dependency is
2530
# declared there rather than in the test files.

0 commit comments

Comments
 (0)