-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate wheel smoke test into standard CI workflow. (#422)
* Integrate wheel smoke test into standard CI workflow. Co-authored-by: Richard Rogers <rrogers@opendius.net> Co-authored-by: Jamie Broomall <88007022+jamie256@users.noreply.github.com>
- Loading branch information
1 parent
54e8b1f
commit 6bc0957
Showing
5 changed files
with
66 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
""" | ||
This is here to verify that the produced wheel includes | ||
all the necessary dependencies. This is exercised by | ||
the CI workflow and does not use pytest because it is | ||
intended to test the wheel in a production environment, | ||
not a development environment. | ||
""" | ||
|
||
import os | ||
|
||
import pandas as pd | ||
|
||
import whylogs | ||
from whylogs import get_or_create_session | ||
from whylogs.app import Session | ||
from whylogs.app.writers import WhyLabsWriter | ||
|
||
writer = WhyLabsWriter() | ||
session = Session(writers=[writer]) | ||
|
||
whylogs_session = get_or_create_session() | ||
|
||
print(session) | ||
print(whylogs_session) | ||
print("Successfully created whylogs session with version:") | ||
print(whylogs.__version__) |