File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -33,25 +33,34 @@ jobs:
33
33
OS_TYPE : ${{ matrix.os }}
34
34
PYTHON_VERSION : ${{ matrix.python-version }}
35
35
GRAFANA_VERSION : ${{ matrix.grafana-version }}
36
+ UV_SYSTEM_PYTHON : true
36
37
37
38
name : Python ${{ matrix.python-version }}, Grafana ${{ matrix.grafana-version }}
38
39
steps :
39
40
40
41
- name : Acquire sources
41
42
uses : actions/checkout@v4
42
43
43
- - name : Setup Python
44
+ - name : Set up Python
44
45
uses : actions/setup-python@v5
45
46
with :
46
47
python-version : ${{ matrix.python-version }}
47
48
architecture : x64
48
49
cache : ' pip'
49
50
cache-dependency-path : ' setup.py'
50
51
51
- - name : Setup Project
52
+ - name : Set up uv
53
+ uses : astral-sh/setup-uv@v4
54
+ with :
55
+ cache-dependency-glob : |
56
+ setup.py
57
+ cache-suffix : ${{ matrix.python-version }}
58
+ enable-cache : true
59
+ version : " latest"
60
+
61
+ - name : Set up project
52
62
run : |
53
- pip install pip 'setuptools>=64' --upgrade
54
- pip install --editable='.[test]'
63
+ uv pip install --editable='.[test]'
55
64
56
65
- name : Run tests
57
66
run : |
You can’t perform that action at this time.
0 commit comments