Skip to content

Commit d4869e3

Browse files
committed
Update CI workflow to use actions/setup-python@v5 and switch to uv for dependency installation and testing
1 parent edd6f47 commit d4869e3

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,21 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v2
1919
- name: Set up Python ${{ matrix.python-version }}
20-
uses: actions/setup-python@v1
20+
uses: actions/setup-python@v5
2121
with:
2222
python-version: ${{ matrix.python-version }}
23+
- name: Install uv
24+
run: |
25+
curl -LsSf https://astral.sh/uv/install.sh | sh
26+
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
2327
- name: Install dependencies
2428
run: |
25-
pip install -r dev-requirements.txt
26-
pip install -r requirements.txt
29+
uv sync --extra dev
2730
- name: Run Tests
2831
env:
2932
ENV: DEV
3033
run: |
31-
make test
34+
uv run make test
3235
- name: Upload coverage to Codecov
3336
if: github.ref == 'refs/heads/master'
3437
uses: codecov/codecov-action@v1

0 commit comments

Comments
 (0)