Skip to content

Commit 70dfd0e

Browse files
authored
align-CI #2 (#52)
* sync workflow triggering and summary logic * unify status check names for branch protection * dev commit * try having PAT in checkout of finalize * add retention-days: 1 to deps upload * handle if artifacts from sync-depscome in or not * cleanup deps change after sync-deps * skip tests if no changes in sync deps, makes sense right... * fix condition syntax * rename Run Split
1 parent e44c33a commit 70dfd0e

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.github/workflows/python-package.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,7 @@ jobs:
8989
- name: 📥 Download Requirements
9090
uses: actions/download-artifact@v4
9191
with:
92-
name: frozen-reqs-${{ matrix.python-version }}
93-
94-
- name: 📥 Apply Dependency Overrides
95-
if: "${{ inputs.override-deps-artifact != '' }}"
96-
uses: actions/download-artifact@v4
97-
with:
98-
name: ${{ inputs.override-deps-artifact }}
92+
name: frozen-reqs-${{ matrix.python-version }}
9993

10094
- name: ⚡ Install uv
10195
run: |
@@ -109,7 +103,7 @@ jobs:
109103
uv pip install -r requirements.txt
110104
uv pip install -e ".[test]" --no-deps
111105
112-
- name: 🧪 Run Split
106+
- name: 🧪 Run Tests (Split ${{ matrix.split }}/4)
113107
env:
114108
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
115109
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

.github/workflows/sync-dependencies.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ jobs:
9494
9595
run-tests:
9696
needs: sync-and-prepare
97+
if: needs.sync-and-prepare.outputs.sync_needed == 'true'
9798
uses: ./.github/workflows/python-package.yml
9899
with:
99100
override-deps-artifact: ${{ needs.sync-and-prepare.outputs.sync_needed == 'true' && 'updated-deps' || 'null' }}

0 commit comments

Comments
 (0)