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

Tutorial tests #244

Merged
merged 14 commits into from
Apr 25, 2022
Merged

Tutorial tests #244

merged 14 commits into from
Apr 25, 2022

Conversation

mgkwill
Copy link
Contributor

@mgkwill mgkwill commented Apr 21, 2022

Issue Number: #243

Objective of pull request: Create tests for tutorials

Pull request checklist

Your PR fulfills the following requirements:

  • Issue created that explains the change and why it's needed
  • Tests are part of the PR (for bug fixes / features)
  • Docs reviewed and added / updated if needed (for bug fixes / features)
  • PR conforms to Coding Conventions
  • PR applys BSD 3-clause or LGPL2.1+ Licenses to all code files
  • Lint (flakeheaven lint src/lava tests/) and (bandit -r src/lava/.) pass locally
  • Build tests (pytest) passes locally

Pull request type

Please check your PR type:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation changes
  • Other (please describe): Testing

Does this introduce a breaking change?

  • Yes
  • No

Marcus G K Williams added 2 commits April 21, 2022 14:37
Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com>
Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com>
@mgkwill mgkwill added the integration build, testing, packaging issue label Apr 21, 2022
@mgkwill mgkwill self-assigned this Apr 21, 2022
Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com>
@mgkwill mgkwill added the 1-feature New feature request label Apr 21, 2022
@mgkwill
Copy link
Contributor Author

mgkwill commented Apr 21, 2022

For whatever reason the CI is not pulling in new requirement nbconvert.

@mgkwill
Copy link
Contributor Author

mgkwill commented Apr 21, 2022

Looking into it.

This passes locally.

Marcus G K Williams added 2 commits April 21, 2022 15:37
Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com>
Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com>
@mgkwill
Copy link
Contributor Author

mgkwill commented Apr 21, 2022

My mistake. It looks like nbconvert was not part of dependencies. It is now.

Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com>
Copy link
Contributor

@PhilippPlank PhilippPlank left a comment

Choose a reason for hiding this comment

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

This is a great idea to keep our tutorials alive.

@mgkwill
Copy link
Contributor Author

mgkwill commented Apr 25, 2022

Due to path issues I couldn't get this to run on windows and I don't have time to debug right now. I've excluded other OSes besides Linux for now. Having fast feedback on Linux is a good start and should catch 99% of issues we would see that break our tutorials.

We can revisit windows and mac OS at a later date.

@mgkwill mgkwill merged commit 4f3486e into lava-nc:main Apr 25, 2022
@mgkwill mgkwill deleted the tutorial_tests branch April 25, 2022 19:52
monkin77 pushed a commit to monkin77/thesis-lava that referenced this pull request Jul 12, 2024
* Add test_tutorials
* Fix tutorial metadata, update tutorial test docstrings
* Install ipykernel, other dependencies
* Update tutorial01_mnist_digit_classification.ipynb
* Update ci-build.yml
* Run only on linux

Signed-off-by: Marcus G K Williams <Marcus G K Williams 168222+mgkwill@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-feature New feature request integration build, testing, packaging issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants