1
0
Fork 0
mirror of https://github.com/mikegerber/ocrd_calamari.git synced 2025-06-08 19:29:53 +02:00

✔ CircleCI: Install TF by explicitly invoking pip on Py 3.11

This commit is contained in:
Mike Gerber 2023-03-13 20:00:27 +01:00
parent 23821cba57
commit 1fcd103d27

View file

@ -15,7 +15,8 @@ jobs:
steps: steps:
- checkout - checkout
- run: pip3 install --upgrade pip - run: pip3 install --upgrade pip
- run: if python3 --version | grep -q "Python 3.6"; then pip install --prefer-binary -U opencv-python-headless numpy; fi - run: if python3 --version | grep -q "Python 3.6"; then pip install --prefer-binary -U opencv-python-headless numpy; fi # to avoid compilation
- run: if python3 --version | grep -q "Python 3.11"; then pip install --prefer-binary -U tensorflow; fi # manual install seems to allow installing the RC (but not through requirements.txt)
- run: make install deps-test-ubuntu PIP_INSTALL="pip3 install" - run: make install deps-test-ubuntu PIP_INSTALL="pip3 install"
- run: make coverage - run: make coverage
- codecov/upload - codecov/upload