From 352f044b6d65fc35edc956a581d6908a21d55800 Mon Sep 17 00:00:00 2001 From: Clemens Neudecker <952378+cneud@users.noreply.github.com> Date: Thu, 9 Feb 2023 20:50:41 +0100 Subject: [PATCH] Update config.yml Update CI to use Python 3.7 / 3.8 as 3.6 is no longer supported --- .circleci/config.yml | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8f02829..5aeda5c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,23 +2,6 @@ version: 2 jobs: - build-python36: - docker: - - image: python:3.6 - steps: - - checkout - - restore_cache: - keys: - - ocrd-resources-{{ checksum "requirements.txt" }}-{{ checksum "Makefile" }} - - run: make install - - run: make model - - save_cache: - key: ocrd-resources-{{ checksum "requirements.txt" }}-{{ checksum "Makefile" }} - paths: - ocrd-resources - - run: git submodule update --init - - run: make test - build-python37: docker: - image: python:3.7 @@ -36,10 +19,27 @@ jobs: - run: git submodule update --init - run: make test + build-python38: + docker: + - image: python:3.8 + steps: + - checkout + - restore_cache: + keys: + - ocrd-resources-{{ checksum "requirements.txt" }}-{{ checksum "Makefile" }} + - run: make install + - run: make model + - save_cache: + key: ocrd-resources-{{ checksum "requirements.txt" }}-{{ checksum "Makefile" }} + paths: + ocrd-resources + - run: git submodule update --init + - run: make test + workflows: version: 2 build: jobs: - - build-python36 - build-python37 - #- build-python38 # no tensorflow for python 3.8 + - build-python38 +