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

CI: test notebooks when modified #1097

Merged
merged 9 commits into from
Feb 16, 2023
Merged

CI: test notebooks when modified #1097

merged 9 commits into from
Feb 16, 2023

Conversation

adamjstewart
Copy link
Collaborator

Previously, our notebooks were only tested when creating a release, which made it difficult to add or modify tutorials. With this PR, our notebooks are now also tested when modified.

Unfortunately it doesn't seem possible to reuse the tests in releases.yaml, we have to duplicate them: https://github.com/orgs/community/discussions/46680.

@github-actions github-actions bot added the testing Continuous integration testing label Feb 8, 2023
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Feb 8, 2023
@adamjstewart
Copy link
Collaborator Author

Error msg is useless: treebeardtech/nbmake#80

@adamjstewart adamjstewart marked this pull request as ready for review February 8, 2023 22:29
@adamjstewart adamjstewart added this to the 0.4.1 milestone Feb 8, 2023
@adamjstewart adamjstewart marked this pull request as ready for review February 15, 2023 17:26
@adamjstewart
Copy link
Collaborator Author

This is prob safe to merge. One of the tutorials doesn't pass, and hasn't passed for a very long time, but we're still trying to figure out why. By having separate tests for these files, it should be easier to debug and iterate on. Once this is merged, I have several ideas for how we can speed up the tests.

@isaaccorley isaaccorley merged commit fec90bf into main Feb 16, 2023
@isaaccorley isaaccorley deleted the ci/tutorials branch February 16, 2023 20:37
calebrob6 pushed a commit that referenced this pull request Apr 10, 2023
yichiac pushed a commit to yichiac/torchgeo that referenced this pull request Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation testing Continuous integration testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants