Skip to content

Commit 0907366

Browse files
committed
Use uv to install deps
1 parent 5cefc2a commit 0907366

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/CI.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: [3.8, 3.11.1]
18-
rf-version: [5.0.1, 7.0.0]
17+
python-version: [3.8, 3.12]
18+
rf-version: [5.0.1, 7.0.1]
1919

2020
steps:
2121
- uses: actions/checkout@v4
@@ -26,10 +26,11 @@ jobs:
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
pip install -r requirements-dev.txt
29+
pip install uv
30+
uv pip install -r requirements-dev.txt --python ${{ matrix.python-version }} --system
3031
- name: Install RF ${{ matrix.rf-version }}
3132
run: |
32-
pip install -U --pre robotframework==${{ matrix.rf-version }}
33+
uv pip install -U robotframework==${{ matrix.rf-version }} --python ${{ matrix.python-version }} --system
3334
- name: Run ruff
3435
run: |
3536
ruff check ./src tasks.py

requirements-dev.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
uv
12
pytest
23
pytest-cov
34
pytest-mockito

0 commit comments

Comments
 (0)