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

Pull notebook classification out into separate test #1397

Merged
merged 3 commits into from
May 17, 2024

Conversation

frankharkins
Copy link
Member

We want to run the notebook classification check on every PR. This PR pulls that test out into a separate pytest suite and runs it as part of the standard CI job. I'd like to also add some more tests to this suite as the nb-tester has grown in complexity and there were some issues with it recently.

@Eric-Arellano
Copy link
Collaborator

This is generally a good idea to have Python tests! In closed source, would this also be a Python test though?

@frankharkins
Copy link
Member Author

frankharkins commented May 16, 2024

I think maybe we just duplicate this specific test in inner-source? It'd need a slightly different glob as this checks for all non-hidden notebooks whereas inner-source only checks the tutorials folder.

@frankharkins frankharkins marked this pull request as ready for review May 16, 2024 15:05
Copy link
Collaborator

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

Thanks

@frankharkins frankharkins added this pull request to the merge queue May 17, 2024
Merged via the queue into main with commit be977b1 May 17, 2024
2 checks passed
@frankharkins frankharkins deleted the FH/nb-tester-tests branch May 17, 2024 20:27
frankharkins added a commit to frankharkins/documentation that referenced this pull request Jul 22, 2024
We want to run the notebook classification check on every PR. This PR
pulls that test out into a separate pytest suite and runs it as part of
the standard CI job. I'd like to also add some more tests to this suite
as the `nb-tester` has grown in complexity and there were some issues
with it recently.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants