update CI

pull/86/head
cneud 2 years ago
parent f37d324812
commit 27834ce33d

@ -2,9 +2,26 @@ version: 2
jobs: jobs:
build-python36: build-python37:
docker: 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: steps:
- checkout - checkout
- restore_cache: - restore_cache:
@ -23,6 +40,6 @@ workflows:
version: 2 version: 2
build: build:
jobs: jobs:
- build-python36 #- build-python36
#- build-python37 - build-python37
#- build-python38 # no tensorflow for python 3.8 - build-python38

@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ['3.6'] # '3.7' python-version: ['3.7'] # '3.8'
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -33,4 +33,4 @@ jobs:
pip install . pip install .
pip install -r requirements-test.txt pip install -r requirements-test.txt
- name: Test with pytest - name: Test with pytest
run: make test run: make test
Loading…
Cancel
Save