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

Add notebook tests #142

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Add notebook tests #142

merged 1 commit into from
Jul 12, 2024

Conversation

tharun571
Copy link
Contributor

@tharun571 tharun571 commented Jun 8, 2024

Description

Using papermill library to execute the notebooks and check the necessary ouputs.

Tryng to fix #122

Type of change

Please tick all options which are relevant.

  • Bug fix
  • New feature
  • Added/removed dependencies
  • Required documentation updates

@codecov-commenter
Copy link

codecov-commenter commented Jun 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@4745f72). Learn more about missing BASE report.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #142   +/-   ##
=======================================
  Coverage        ?   82.72%           
=======================================
  Files           ?       17           
  Lines           ?      625           
  Branches        ?       61           
=======================================
  Hits            ?      517           
  Misses          ?      108           
  Partials        ?        0           

test/test_xcpp_kernel.py Outdated Show resolved Hide resolved
@tharun571 tharun571 marked this pull request as ready for review June 10, 2024 17:35
test/test_xcpp_kernel.py Outdated Show resolved Hide resolved
test/test_xcpp_kernel.py Outdated Show resolved Hide resolved
test/test_xcpp_kernel.py Outdated Show resolved Hide resolved
test/test_xcpp_kernel.py Outdated Show resolved Hide resolved
@vgvassilev
Copy link
Contributor

Is this pull request still struggling to show a good user message if a notebook execution ends up with unexpected results or we are seeing something else?

@tharun571 tharun571 force-pushed the main branch 2 times, most recently from b213de3 to 33425e6 Compare July 11, 2024 17:58
Copy link
Contributor

@vgvassilev vgvassilev 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 simply awesome! LGTM!

@JohanMabille, could we move that feature up the jupyter stack?

@vgvassilev vgvassilev merged commit 7d20476 into compiler-research:main Jul 12, 2024
8 checks passed
@anutosh491
Copy link
Collaborator

Thanks @tharun571 for fixing this.
Raised an issue to propagate the idea here to xeus
jupyter-xeus/xeus#407

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce a testing framework to test out the example notebooks
4 participants