Skip to content
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

fix: check proper import and version variable #276

Merged
merged 3 commits into from
Jul 5, 2023

Conversation

germa89
Copy link
Contributor

@germa89 germa89 commented Jul 4, 2023

Because of $() if there is an error while importing the library, the exception/error is hidden because it does not affect the parent process.

With this PR, we check that the variable has ben properly created which means that the package can be imported properly.

Closes #275

@github-actions github-actions bot added the enhancement General improvements to existing features label Jul 4, 2023
@germa89
Copy link
Contributor Author

germa89 commented Jul 4, 2023

@jorgepiloto and @RobPasMue right now...

@germa89 germa89 changed the title Check proper import and version variable fix: check proper import and version variable Jul 4, 2023
build-wheelhouse/action.yml Outdated Show resolved Hide resolved
@RobPasMue
Copy link
Member

I saw this issue some weeks ago, yeah... Thanks for opening the PR @germa89!

@RobPasMue RobPasMue linked an issue Jul 5, 2023 that may be closed by this pull request
Co-authored-by: Raphael Luciano <raphael.luciano@ansys.com>
Copy link
Member

@RobPasMue RobPasMue left a comment

Choose a reason for hiding this comment

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

All good @germa89 - merging and patch releasing

@RobPasMue RobPasMue enabled auto-merge (squash) July 5, 2023 14:36
@RobPasMue RobPasMue merged commit 913aaa1 into main Jul 5, 2023
@RobPasMue RobPasMue deleted the feat/import-package-test-in-smoke-test branch July 5, 2023 14:38
RobPasMue added a commit that referenced this pull request Jul 5, 2023
Co-authored-by: Roberto Pastor Muela <37798125+RobPasMue@users.noreply.github.com>
Co-authored-by: Raphael Luciano <raphael.luciano@ansys.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General improvements to existing features
Projects
None yet
3 participants