File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -27,20 +27,19 @@ jobs:
27
27
PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION : " python"
28
28
29
29
steps :
30
- - uses : actions/checkout@v3
31
- - name : Set up Python ${{ matrix.python-version }}
32
- uses : actions /setup-python@v4
30
+ - uses : actions/checkout@v4
31
+ - name : Install uv.
32
+ uses : astral-sh /setup-uv@v5
33
33
with :
34
- python-version : ${{ matrix.python-version }}
35
- cache : pip
36
- cache-dependency-path : ' **/requirements.txt'
34
+ enable-cache : true
35
+ cache-dependency-glob : " uv.lock"
37
36
- name : Install dependencies
38
37
run : |
39
- pip install --quiet -r requirements.txt -r requirements-ci.txt
40
- pip install -e .
38
+ uv sync
39
+ uv pip install -e .
41
40
- name : pytest
42
41
run : |
43
- pytest --cov=package tests --color=yes
42
+ uv run pytest --cov=package tests --color=yes
44
43
# - name: Upload coverage reports to Codecov
45
44
# uses: codecov/codecov-action@v3
46
45
# env:
Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ classifiers = [
15
15
" Intended Audience :: Science/Research" ,
16
16
" License :: OSI Approved :: MIT License" ,
17
17
" Operating System :: OS Independent" ,
18
- " Programming Language :: Python :: 3.8" ,
19
- " Programming Language :: Python :: 3.9" ,
20
18
" Programming Language :: Python :: 3.10" ,
21
19
" Programming Language :: Python :: 3.11" ,
22
20
" Programming Language :: Python :: 3" ,
You can’t perform that action at this time.
0 commit comments