Skip to content

Commit cbad290

Browse files
committed
rewrite R2 publishing in Python
1 parent dd50779 commit cbad290

12 files changed

Lines changed: 2040 additions & 1422 deletions

File tree

.github/workflows/check.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,11 @@ jobs:
3030
- name: "Run checks"
3131
run: |
3232
./check.py
33+
34+
- name: "Run unit tests"
35+
run: |
36+
uv run python -m unittest tests/test_mirror.py
37+
38+
- name: "Run mirror integration test"
39+
run: |
40+
uv run python -m unittest tests/test_mirror_integration.py

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ jobs:
4545
repo: casey/just
4646
version: 1.42.4
4747

48+
- uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
49+
4850
# Perform a release in dry-run mode.
4951
- run: just release-dry-run ${GH_TOKEN} ${GITHUB_EVENT_INPUTS_SHA} ${GITHUB_EVENT_INPUTS_TAG}
5052
if: ${{ github.event.inputs.dry-run == 'true' }}

0 commit comments

Comments
 (0)