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

Fix notebook tests #630

Merged
merged 4 commits into from
Aug 23, 2024
Merged

Conversation

danielhollas
Copy link
Contributor

@danielhollas danielhollas commented Aug 23, 2024

The last successfully run of notebook tests is from July 8. There were no code changes that should impact the tests, we need to investigate what changed since then.

EDIT: It looks like just increasing the wait time tolerance fixes the issue. Perhaps the github runners just got slower? Not sure.

Copy link

codecov bot commented Aug 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.61%. Comparing base (771dae1) to head (f8bd037).
Report is 9 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #630   +/-   ##
=======================================
  Coverage   83.61%   83.61%           
=======================================
  Files          16       16           
  Lines        3522     3522           
=======================================
  Hits         2945     2945           
  Misses        577      577           
Flag Coverage Δ
python-3.11 83.61% <ø> (ø)
python-3.9 83.65% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

Comment on lines +49 to +51
pytest-docker~=3.1.0
pytest-selenium~=4.1.0
pytest-timeout~=2.3.0
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be on the safe side and to reduce potential churn, let's pin all test dependencies to minor versions.

@danielhollas danielhollas changed the title WIP: Fix notebook tests Fix notebook tests Aug 23, 2024
@danielhollas danielhollas marked this pull request as ready for review August 23, 2024 12:53
@danielhollas
Copy link
Contributor Author

@edan-bainglass please take a look. Ideally we merge this first so other PRs can have tests passing.

@danielhollas
Copy link
Contributor Author

Going to land this now as I will be AFK for the next two hours.

@danielhollas danielhollas merged commit 0c9f6fb into aiidalab:master Aug 23, 2024
11 checks passed
@danielhollas danielhollas deleted the fix-notebook-tests branch August 23, 2024 13:45
Copy link
Member

@edan-bainglass edan-bainglass left a comment

Choose a reason for hiding this comment

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

Hopefully increasing the time is sufficient. LGTM!

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.

2 participants