-
Notifications
You must be signed in to change notification settings - Fork 118
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
Move PoC unit test to unit folder and fix POC nb #364
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
Click to view CI ResultsGitHub pull request #364 of commit 2757e798a23cff3108a976a56d1e0fd233daf6cb, no merge conflicts. Running as SYSTEM Setting status of 2757e798a23cff3108a976a56d1e0fd233daf6cb to PENDING with url https://10.20.13.93:8080/job/merlin_merlin/132/console and message: 'Pending' Using context: Jenkins Building on master in workspace /var/jenkins_home/workspace/merlin_merlin using credential systems-login > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/NVIDIA-Merlin/Merlin # timeout=10 Fetching upstream changes from https://github.com/NVIDIA-Merlin/Merlin > git --version # timeout=10 using GIT_ASKPASS to set credentials login for merlin-systems > git fetch --tags --force --progress -- https://github.com/NVIDIA-Merlin/Merlin +refs/pull/364/*:refs/remotes/origin/pr/364/* # timeout=10 > git rev-parse 2757e798a23cff3108a976a56d1e0fd233daf6cb^{commit} # timeout=10 Checking out Revision 2757e798a23cff3108a976a56d1e0fd233daf6cb (detached) > git config core.sparsecheckout # timeout=10 > git checkout -f 2757e798a23cff3108a976a56d1e0fd233daf6cb # timeout=10 Commit message: "delete categories" > git rev-list --no-walk 8c5e1345a56d7052d28631a55d3056f4e0877ffc # timeout=10 [merlin_merlin] $ /bin/bash /tmp/jenkins6351894645920927990.sh ============================= test session starts ============================== platform linux -- Python 3.8.10, pytest-7.1.2, pluggy-1.0.0 rootdir: /var/jenkins_home/workspace/merlin_merlin/merlin plugins: anyio-3.5.0, xdist-2.5.0, forked-1.4.0, cov-3.0.0 collected 2 items |
Documentation preview |
I dont think that this PR will execute the unittests for each CI run. @benfred @jperez999 In my understanding, the nightly CI will execute this bash script: is that correct? So we need to add a section
and we need to add a test_unit.sh to the Merlin repository. @benfred @jperez999 can you confirm? |
The multi-stage recommender example requires both Merlin Models and Merlin Systems, and therefore isn't well suited to a unit test (i.e. a test of a single "unit," like a library.) Since this requires multiple libraries—even though the notebooks live in their respectively most relevant repos—this would be better tested with an multi-library integration test in the Merlin repo (where we can safely assume that depending on anything in the Merlin ecosystem is fair game.) |
if we do not have a unit test for this release, we will still be not detecting errors with PoC example.. :/ |
for this to succeed we need to first have this PR merged in systems: NVIDIA-Merlin/systems#117 |
closing due to #385 |
This PR
unit
directoryThis requires this PR to be merged first.