Skip to content

Commit

Permalink
Use uv to install deps
Browse files Browse the repository at this point in the history
  • Loading branch information
aaltat committed Aug 2, 2024
1 parent 5cefc2a commit 0907366
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8, 3.11.1]
rf-version: [5.0.1, 7.0.0]
python-version: [3.8, 3.12]
rf-version: [5.0.1, 7.0.1]

steps:
- uses: actions/checkout@v4
Expand All @@ -26,10 +26,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install uv
uv pip install -r requirements-dev.txt --python ${{ matrix.python-version }} --system
- name: Install RF ${{ matrix.rf-version }}
run: |
pip install -U --pre robotframework==${{ matrix.rf-version }}
uv pip install -U robotframework==${{ matrix.rf-version }} --python ${{ matrix.python-version }} --system
- name: Run ruff
run: |
ruff check ./src tasks.py
Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
uv
pytest
pytest-cov
pytest-mockito
Expand Down

0 comments on commit 0907366

Please sign in to comment.