Skip to content

Commit f7a1e1b

Browse files
committed
Ensure Python modules are visible to Python package version script
1 parent 25f1040 commit f7a1e1b

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/reusable-check-python-package-versions.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
with:
4343
ref: ${{ inputs.before_commit }}
4444

45+
- name: Sync code before change to make packages visible to Python
46+
run: uv sync --all-packages
47+
4548
- name: Capture package versions before change
4649
run: uv run python ./.github/workflows/scripts/package-versions.py collect > /tmp/package-versions-before.json
4750

@@ -50,12 +53,15 @@ jobs:
5053
with:
5154
ref: ${{ inputs.after_commit }}
5255

56+
- name: Sync code after change to make packages visible to Python
57+
run: uv sync --all-packages
58+
5359
- name: Capture package versions after change
5460
run: uv run python ./.github/workflows/scripts/package-versions.py collect > /tmp/package-versions-after.json
5561

5662
- name: Compare package versions before and after change
5763
run: |
58-
uv run python scripts/package-versions.py compare \
64+
uv run python ./.github/workflows/scripts/package-versions.py compare \
5965
/tmp/package-versions-before.json \
6066
/tmp/package-versions-after.json \
6167
>/tmp/package-version-diff.json

0 commit comments

Comments
 (0)