Skip to content

Commit a2ca918

Browse files
committedDec 1, 2024·
Add UV to CI
1 parent 734b847 commit a2ca918

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed
 

‎.github/workflows/ci.yml

+10-4
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,22 @@ jobs:
2323

2424
runs-on: ${{matrix.os}}
2525
steps:
26-
- uses: actions/checkout@v4
26+
- name: Checkout repository
27+
uses: actions/checkout@v4
28+
2729
- name: Set up Python ${{ matrix.python-version }}
2830
uses: actions/setup-python@v5
2931
with:
3032
python-version: ${{ matrix.python-version }}
33+
cache: pip
34+
cache-dependency-path: pyproject.toml
35+
36+
3137
- name: Install dependencies
3238
run: |
33-
python -m pip install --upgrade pip wheel setuptools
34-
pip install -e ".[crystal_space,dev]"
35-
pip install pytest-cov
39+
pip install uv
40+
uv pip install -e ".[optional,dev]" --system
41+
3642
- name: Run tests and collect coverage
3743
env:
3844
MP_API_KEY: ${{ secrets.MP_API_KEY }}

0 commit comments

Comments
 (0)
Please sign in to comment.