Skip to content

Commit 69e9c85

Browse files
robwoolleyclaude
andcommitted
ci: fetch full git history so setuptools-scm can see tags
actions/checkout@v4 defaults to a shallow, tag-less clone. With no tags reachable, setuptools-scm falls back to its default base version (0.1.devN+g<hash>), which fails test_get_superflore_version's sanity check that the version isn't lower than expected. Reproduced locally: a --depth 1 clone reads back '0.1.dev1+g<hash>' and fails the test; a full clone correctly resolves to '0.3.4.devNN+g<hash>' and passes. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Signed-off-by: Rob Woolley <rob.woolley@windriver.com>
1 parent a751e20 commit 69e9c85

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
runs-on: ${{matrix.os}}
1717
steps:
1818
- uses: actions/checkout@v4
19+
with:
20+
fetch-depth: 0
1921
- name: Set up Python ${{matrix.python}}
2022
uses: actions/setup-python@v5
2123
with:

0 commit comments

Comments
 (0)