Skip to content

Commit b8f9f31

Browse files
committed
🔧 (CI): Integrate uv with make commands in GitHub Actions for enhanced environment management
1 parent ce1daf6 commit b8f9f31

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
3333
- name: Run tests and checks
3434
run: |
35-
make all
35+
uv run make all
3636
3737
publish:
3838
needs: test
@@ -61,8 +61,9 @@ jobs:
6161
6262
- name: Build package
6363
run: |
64+
uv venv
6465
uv pip install build
65-
python -m build
66+
uv run python -m build
6667
6768
- name: Publish to PyPI
6869
uses: pypa/gh-action-pypi-publish@release/v1

‎.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
3434
- name: Run format checks and typecheck
3535
run: |
36-
make check
36+
uv run make check
3737
3838
- name: Run tests with coverage
3939
run: |
40-
make coverage
40+
uv run make coverage
4141
4242
- name: Upload coverage to Codecov
4343
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)