-
Notifications
You must be signed in to change notification settings - Fork 2
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 a docker/dagger-based testing workflow, adopt PEP 517/621 #300
base: master
Are you sure you want to change the base?
Conversation
…ease_notes, add python package metadata
… toml files, remove setup.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff. I am not too familiar with Dagger and Github actions in general but I just don't see where the same pytest as our Jenkins is being run.
Also same questions as all other pipelines you've been adding lately: can we trigger this manually without having to push new commits?
Dockerfile
Outdated
@@ -0,0 +1,33 @@ | |||
# vim:set ft=dockerfile: | |||
ARG BASE_IMAGE_TAG | |||
FROM pavics/workflow-tests:${BASE_IMAGE_TAG:-latest} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
latest
is whenever someone push something to master
, which is never tested ! The current version in production is 230601
, this one should be the default. Hum, how to keep this one up-to-date without additional manual commit on each Jupyter env release ...
While it takes several hours to run, it does indeed run! I haven't checked why, but a handful of notebooks are currently failing (many of them are passing). I imagine that there might be some missing configurations/environment variables. Given the egregious amount of time needed to run these, I think we might need to either simplify some tests or only run this action via workflow dispatch or on a weekly/biweekly schedule. Thoughts? |
Issues affecting the notebooks:
|
xESMF error may be related to pangeo-data/xESMF#246 |
Nothing is missing in the Jupyter docker image. As I said in comment #300 (comment) earlier, the default Jupyter image should not be
This one is not expected. Intermittent or 100% reproducible? Might be due to |
https://github.com/Ouranosinc/pavics-sdi/actions/runs/5600724938/job/15171619608 Wow @Zeitsperre Once we clear those noise and use the proper Jupyter image version, we can better see what's left to fix.
Can we run daily to catch errors faster? Agreed that almost 5h runtime duration is too much to run on every PR merge. However, if not run on each PR merge, how to automatically associate any errors found to the proper PR? |
…cript comparisons, run tests nightly at midnight-ish EST
Added the override in and directed pytest to use it, but it doesn't seem to do anything? Am I missing something here?
Done. I've set it to run at 4:00 AM every day (so that we see the errors bright and early a few hours later). |
@Zeitsperre However I noticed your |
@Zeitsperre See comment #300 (comment)
|
Changes
pre-commit
Dockerfile
to stage the testing imagesphinx-rtd-theme
(previouslysphinx_rtd_theme
).flit
.