Skip to content

Commit

Permalink
CHORE: Integrate uv in CI/CD (#1085)
Browse files Browse the repository at this point in the history
Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
  • Loading branch information
dipinknair and pyansys-ci-bot authored Feb 12, 2025
1 parent 7544b20 commit 8eb620d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ jobs:
run: |
. /env/bin/activate
pip install --upgrade pip
pip install -e .[tests,rpc]
pip install uv
uv pip install -e .[tests,rpc]
- name: Unit Testing and coverage
env:
Expand Down Expand Up @@ -386,7 +387,8 @@ jobs:
run: |
. /env/bin/activate
pip install --upgrade pip
pip install -e .[tests]
pip install uv
uv pip install -e .[tests]
- name: Unit Testing and coverage
env:
Expand Down Expand Up @@ -459,7 +461,8 @@ jobs:
run: |
. /env/bin/activate
pip install --upgrade pip
pip install -e .[tests]
pip install uv
uv pip install -e .[tests]
- name: Embedding scripts unit testing and coverage
env:
Expand Down Expand Up @@ -532,7 +535,8 @@ jobs:
- name: Install packages for testing
run: |
. /env/bin/activate
pip install .[tests]
pip install uv
uv pip install .[tests]
- name: Set environment variable
run: echo "ANSYSCL${{ needs.revn-variations.outputs.test_revn }}_DIR=/install/ansys_inc/v${{ needs.revn-variations.outputs.test_revn }}/licensingclient" >> $GITHUB_ENV
Expand Down Expand Up @@ -629,7 +633,8 @@ jobs:
- name: Install Python requirements
run: |
. /env/bin/activate
pip install -e .[doc]
pip install uv
uv pip install -e .[doc]
- name: Build docs
env:
Expand Down Expand Up @@ -710,7 +715,7 @@ jobs:

- name: Install coverage
run: |
rm -rf env
rm -rf ./env
python -m pip install -U pip
pip install coverage
pip install -e .
Expand Down
1 change: 1 addition & 0 deletions doc/changelog.d/1085.maintenance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Integrate uv in CI/CD

0 comments on commit 8eb620d

Please sign in to comment.