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:
2727 PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION : " python"
2828
2929 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
3333 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"
3736 - name : Install dependencies
3837 run : |
39- pip install --quiet -r requirements.txt -r requirements-ci.txt
40- pip install -e .
38+ uv sync
39+ uv pip install -e .
4140 - name : pytest
4241 run : |
43- pytest --cov=package tests --color=yes
42+ uv run pytest --cov=package tests --color=yes
4443# - name: Upload coverage reports to Codecov
4544# uses: codecov/codecov-action@v3
4645# env:
Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ classifiers = [
1515 " Intended Audience :: Science/Research" ,
1616 " License :: OSI Approved :: MIT License" ,
1717 " Operating System :: OS Independent" ,
18- " Programming Language :: Python :: 3.8" ,
19- " Programming Language :: Python :: 3.9" ,
2018 " Programming Language :: Python :: 3.10" ,
2119 " Programming Language :: Python :: 3.11" ,
2220 " Programming Language :: Python :: 3" ,
You can’t perform that action at this time.
0 commit comments