-
Notifications
You must be signed in to change notification settings - Fork 142
test: skip database tests based on TEST_DB environment variable #4250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
@pyansys-ci-bot LGTM. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR implements conditional skipping of database tests based on the TEST_DB environment variable to allow more flexible test execution control.
- Adds TEST_DB environment variable check to skip database tests when not needed
- Implements skip logic in both test fixture and individual test function
- Provides consistent test execution behavior based on environment configuration
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
pyansys-ci-bot
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4250 +/- ##
==========================================
+ Coverage 91.20% 91.32% +0.12%
==========================================
Files 193 193
Lines 15719 15719
==========================================
+ Hits 14336 14356 +20
+ Misses 1383 1363 -20 🚀 New features to boost your workflow:
|
* test: skip database tests based on TEST_DB environment variable * chore: adding changelog file 4250.test.md [dependabot-skip] --------- Co-authored-by: pyansys-ci-bot <[email protected]>
* test: skip database tests based on TEST_DB environment variable * chore: adding changelog file 4250.test.md [dependabot-skip] --------- Co-authored-by: pyansys-ci-bot <[email protected]>
* test: skip database tests based on TEST_DB environment variable * chore: adding changelog file 4250.test.md [dependabot-skip] --------- Co-authored-by: pyansys-ci-bot <[email protected]>

Description
Skip database tests if
TEST_DBenv var does not exist or it is different than "true".Issue linked
NA
Checklist
draftif it is not ready to be reviewed yet.feat: adding new MAPDL command)