-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add github action for testing notebooks #123
Conversation
Reckon @techdocsmith @hevansDev we should specific about what tests we are, and are not, attempting to catch with this test suite. Are we trying to be sure, for example, that the notebooks run "as code"? Or are we just looking for quality things? For example...
Are we OK with such a long timeout for the tests? When I ran this with the wrong port for Druid, for example, it took ages to fail the test. I was wondering if, realistically, any notebook should take like 5 minutes - as a quality test more than a functional one. |
I'm wondering @hevansDev @techdocsmith if we only really know if this change becomes an issue when we start to commit notebooks. I do think we should find the other angle, though, like what common issues is this change looking to catch? |
@hevansDev what errors does this test throw across all notebooks rn? I wonder cos I found something in a notebook earlier that didn't seem to work any more, and wondered if it was me (!!!) or if it really was an issue. |
e6edce8
to
d9e92be
Compare
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.
Great catches!! I suggest pulling out the amendments to the notebooks into a PR that gets merged before this one as these fix a separate issue.
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.
I don't think this change is necessary : when I tested this notebook, the table was correctly dropped.
If still required, note that the variable needs to be used rather than the explicit table name. The variable table_name is set in a previous cell.
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.
To conform with the template, all imports should be in a section at the top ("import additional modules").
100 seconds also seems a long time to pause.
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.
As above, can it be lower than 100 seconds?
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.
I suspect the authors intention here was to use latest_session_length throughout, rather than session_length, given that the ingestion is a GROUP BY, and session_length is high cardinality.
Argh I merged the wrong PR and thus deleted the branch. I have reverted the changes and restored the branch. |
No description provided.