Skip to content

CI: Fix uv setup in nightly tests - #6926

Merged
SMoraisAnsys merged 2 commits into
mainfrom
ci/fix-nightly-tests
Nov 22, 2025
Merged

SMoraisAnsys merged 2 commits into
mainfrom
ci/fix-nightly-tests

Conversation

@SMoraisAnsys

Copy link
Copy Markdown
Collaborator

Description

Adding missing changes from #6897 (related to the setup of uv on our Windows self hosted runners)

Issue linked

None

Checklist

  • I have tested my changes locally.
  • I have added necessary documentation or updated existing documentation.
  • I have followed the coding style guidelines of this project.
  • I have added appropriate tests (unit, integration, system).
  • I have reviewed my changes before submitting this pull request.
  • I have linked the issue or issues that are solved by the PR if any.
  • I have agreed with the Contributor License Agreement (CLA).

@SMoraisAnsys
SMoraisAnsys requested a review from a team as a code owner November 22, 2025 09:45
@SMoraisAnsys SMoraisAnsys self-assigned this Nov 22, 2025
@SMoraisAnsys
SMoraisAnsys enabled auto-merge (squash) November 22, 2025 09:45
@github-actions github-actions Bot added the maintenance Package and maintenance related label Nov 22, 2025
@codecov

codecov Bot commented Nov 22, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.04%. Comparing base (12046a2) to head (4c9f83f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6926      +/-   ##
==========================================
- Coverage   82.14%   81.04%   -1.10%     
==========================================
  Files         246      246              
  Lines       78112    78112              
==========================================
- Hits        64162    63309     -853     
- Misses      13950    14803     +853     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@SMoraisAnsys
SMoraisAnsys merged commit c27c388 into main Nov 22, 2025
1 check passed
@SMoraisAnsys
SMoraisAnsys deleted the ci/fix-nightly-tests branch November 22, 2025 11:36
.venv\Scripts\Activate.ps1
uv pip install .[tests]

- name: Remove Ansys processes (if any)

@eblanco-ansys eblanco-ansys Nov 22, 2025 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not using pyaedt stop --all cli command to remove all processes? With the merge of #6880 typer should also be added to test optional dependencies, so we could simply CI readability replacing this block with the cli command

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The thing is that the pyaedt command only handles ansysaedt.exe processes (or ansysaedt on linux). In the past, we also have add cases where specific process of AEDT were still running when something goes wrong. If we want to have the same kind of behavior then the stop command needs to be extended to also cover other processes and we would need an exhaustive list of those.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Package and maintenance related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants