From 27834ce33de6eef2b81ef458dc3fd7fb924271dd Mon Sep 17 00:00:00 2001 From: cneud <952378+cneud@users.noreply.github.com> Date: Tue, 28 Mar 2023 23:45:38 +0200 Subject: [PATCH] update CI --- .circleci/config.yml | 27 ++++++++++++++++++++++----- .github/workflows/test-eynollah.yml | 4 ++-- 2 files changed, 24 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 72b2c5a..8cf026c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,9 +2,26 @@ version: 2 jobs: - build-python36: + build-python37: docker: - - image: python:3.6 + - image: python:3.7 + steps: + - checkout + - restore_cache: + keys: + - model-cache + - run: make models + - save_cache: + key: model-cache + paths: + models_eynollah.tar.gz + models_eynollah + - run: make install + - run: make smoke-test + + build-python38: + docker: + - image: python:3.8 steps: - checkout - restore_cache: @@ -23,6 +40,6 @@ workflows: version: 2 build: jobs: - - build-python36 - #- build-python37 - #- build-python38 # no tensorflow for python 3.8 + #- build-python36 + - build-python37 + - build-python38 \ No newline at end of file diff --git a/.github/workflows/test-eynollah.yml b/.github/workflows/test-eynollah.yml index 1afd2a6..de742f1 100644 --- a/.github/workflows/test-eynollah.yml +++ b/.github/workflows/test-eynollah.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.6'] # '3.7' + python-version: ['3.7'] # '3.8' steps: - uses: actions/checkout@v2 @@ -33,4 +33,4 @@ jobs: pip install . pip install -r requirements-test.txt - name: Test with pytest - run: make test + run: make test \ No newline at end of file