-
Notifications
You must be signed in to change notification settings - Fork 6
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
Review tests #72
Comments
@bertsky Reading https://github.com/OCR-D/ocrd_tesserocr/blob/master/Makefile#L124-L135, I think we should discuss how to handle |
Yes, I have always argued against that pattern – precisely because of old checkouts. The proper way to handle this is via subrepos, which can be updated. See for example |
Yes, but the dependency to
That's not true. Each test case is independent from the others – the fixture makes a fresh copy of |
Yeah, I didn't remember writing it correctly :) My fixture code leaves the temporary directory though, and I think I'm going to rewrite it to use mktemp and only leaving it only if a fail occurs or the user wants it. |
Tests now run on Python 3.6 to 3.10 on CircleCI (ef63291, https://app.circleci.com/pipelines/github/OCR-D/ocrd_calamari/193/workflows/e099d41f-8eb7-4f8c-b605-4143a79ba52e). |
We now install an older |
That's a nice recipe. Should adopt that in all the other places where we still use Python 3.6 |
@kba Do you have an idea how to resolve this? I checked the project settings but couldn't find anything. To reproduce open a private browser window (= not logged in to CircleCI) and try: 😡 https://app.circleci.com/pipelines/github/OCR-D/ocrd_calamari gives 404 |
Keep me posted if you adopt this. I currently use this in CircleCI config but could image moving it to the Makefile if that's the convention:
I believe there would also be line in
But then I would really like if everyone would move away from Ubuntu 18.04, if possible. |
It gets pulled in by |
Agreed, we should add this to core. |
we are not Ubuntu 20 / Python 3.7 now in core/ocrd_all Docker BTW. (There's been no notification unfortunately.) |
Notification in the chat coming once I get around to fixing the base image issue and do next release.
I've compared the project settings for both projects and could spot no difference. I'll try rotating the GitHub keys, perhaps there are stale permission settings linked to that. |
I set up a monthly schedule. (Needs to be done by "hand" unfortunately) |
I'm going to add a line if $(PYTHON) -V | fgrep -e 3.5 -e 3.6; then $(PIP) install --prefer-binary -U opencv-python-headless numpy; fi to the recipe of @kba Is it ok to add this to OCR-D/core#986? |
Yes, please. The opencv build time is enormous for fresh python 3.6- installations, great if we can reduce that. |
repo/assets
which would NOT trigger test fails but a fresh checkout wouldtest/assets
are copied once and are then reusedpytest
work - currently onlymake test
worksThe text was updated successfully, but these errors were encountered: