@@ -72,16 +72,15 @@ jobs:
72
72
steps :
73
73
- uses : actions/checkout@v4
74
74
75
- - name : Set up Python ${{ matrix. python-version }}
76
- uses : actions /setup-python @v5
75
+ - name : Install the latest version of uv and set the python version
76
+ uses : astral-sh /setup-uv @v5
77
77
with :
78
78
python-version : ${{ matrix.python-version }}
79
- cache : ' pip'
80
- cache-dependency-path : ' pyproject.toml'
79
+ cache-dependency-glob : ' **/pyproject.toml'
81
80
82
81
- name : Install core PyAnsys packages
83
82
run : |
84
- pip install .
83
+ uv pip install .
85
84
86
85
- name : Smoke test
87
86
run : python -c "from ${{ env.PACKAGE_NAMESPACE }} import __version__; print(__version__)"
@@ -100,16 +99,15 @@ jobs:
100
99
steps :
101
100
- uses : actions/checkout@v4
102
101
103
- - name : Set up Python ${{ matrix. python-version }}
104
- uses : actions /setup-python @v5
102
+ - name : Install the latest version of uv and set the python version
103
+ uses : astral-sh /setup-uv @v5
105
104
with :
106
105
python-version : ${{ matrix.python-version }}
107
- cache : ' pip'
108
- cache-dependency-path : ' pyproject.toml'
106
+ cache-dependency-glob : ' **/pyproject.toml'
109
107
110
108
- name : Install ${{ matrix.extras-version }} PyAnsys packages
111
109
run : |
112
- pip install .[${{ matrix.extras-version }}]
110
+ uv pip install .[${{ matrix.extras-version }}]
113
111
114
112
- name : Smoke test
115
113
run : python -c "from ${{ env.PACKAGE_NAMESPACE }} import __version__; print(__version__)"
0 commit comments