@@ -72,16 +72,15 @@ jobs:
7272 steps :
7373 - uses : actions/checkout@v4
7474
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
7777 with :
7878 python-version : ${{ matrix.python-version }}
79- cache : ' pip'
80- cache-dependency-path : ' pyproject.toml'
79+ cache-dependency-glob : ' **/pyproject.toml'
8180
8281 - name : Install core PyAnsys packages
8382 run : |
84- pip install .
83+ uv pip install .
8584
8685 - name : Smoke test
8786 run : python -c "from ${{ env.PACKAGE_NAMESPACE }} import __version__; print(__version__)"
@@ -100,16 +99,15 @@ jobs:
10099 steps :
101100 - uses : actions/checkout@v4
102101
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
105104 with :
106105 python-version : ${{ matrix.python-version }}
107- cache : ' pip'
108- cache-dependency-path : ' pyproject.toml'
106+ cache-dependency-glob : ' **/pyproject.toml'
109107
110108 - name : Install ${{ matrix.extras-version }} PyAnsys packages
111109 run : |
112- pip install .[${{ matrix.extras-version }}]
110+ uv pip install .[${{ matrix.extras-version }}]
113111
114112 - name : Smoke test
115113 run : python -c "from ${{ env.PACKAGE_NAMESPACE }} import __version__; print(__version__)"
0 commit comments