Skip to content

Commit 9361e74

Browse files
committed
update infra
1 parent 2b984b9 commit 9361e74

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/experiment.yaml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
uses: tj-actions/changed-files@v44
2525
with:
2626
files: packages/** # Only watch the packages directory
27-
dir_names: true # Return folder names, not files
28-
dir_names_max_depth: 2 # Strip it down to just "google-cloud-storage"
29-
json: true # Output a perfect JSON array for the matrix
27+
dir_names: true # Return folder names, not files
28+
dir_names_max_depth: 2 # Output format: "packages/google-cloud-storage"
29+
json: true # Output a perfect JSON array for the matrix
3030
escape_json: false
3131

3232
# 3. EXECUTION: Native Fan-out Matrix
@@ -50,11 +50,13 @@ jobs:
5050
with:
5151
python-version: ${{ matrix.python }}
5252
enable-cache: true
53-
cache-dependency-glob: "packages/${{ matrix.package }}/setup.py"
53+
# Rely on the full path provided by tj-actions
54+
cache-dependency-glob: "${{ matrix.package }}/setup.py"
5455

5556
- name: Execute Tests (High-Density)
5657
run: |
57-
cd packages/${{ matrix.package }}
58+
# Step into the exact directory output by the matrix
59+
cd ${{ matrix.package }}
5860
5961
# Force Nox to natively use uv instead of the legacy virtualenv module
6062
export NOX_DEFAULT_VENV_BACKEND=uv

0 commit comments

Comments
 (0)