Skip to content

fix: check proper import and version variable#276

Merged
RobPasMue merged 3 commits intomainfrom
feat/import-package-test-in-smoke-test
Jul 5, 2023
Merged

fix: check proper import and version variable#276
RobPasMue merged 3 commits intomainfrom
feat/import-package-test-in-smoke-test

Conversation

@germa89
Copy link
Copy Markdown
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
Copy Markdown
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
@RobPasMue
Copy link
Copy Markdown
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
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

Add import testing inside the smoke tests actions Build wheelhouse action piping unintended output and breaking tests

3 participants