Closed louisguitton closed 3 years ago
Good news: CI now works as expected 🎉
Bad news:
Related feature idea: we can upload the kglab
docker image straight to the github docker registry called packages as part of github actions (docs). This would mean that users that want to go through the tutorial don't even need to build the image locally etc... they would just need to do
docker pull ghcr.io/DerwenAI/kglab:latest
The docker-compose file would then point to that image instead of the local one 👀
the issue with the notebooks currently failing in CI comes from:
tmp.ttl
treon
library is using a random order to run notebooks in 🤦 Although there are arguments for writing self-contained notebooks, given the fact that they are clearly names in sequential order, I should be able to find a tool to test them in that order ! so I will keep looking.
treon
relies on the order from glob.glob
which is arbitrary (see https://docs.python.org/3/library/glob.html#:~:text=results%20are%20returned%20in%20arbitrary%20order)
I've switched to nbmake
and dropped treon
because there was no current option to sort results.
If it ever helps, we could place copies of the files generated by earlier notebooks in the tutorial (e.g., tmp.ttl
) into a public bucket somewhere?
What
Description
The Github Actions chicken and egg problem means I didn't see this issue until later. For example this run https://github.com/DerwenAI/kglab/runs/2540865279 failed with