update CI

pull/86/head
cneud 1 year ago
parent f37d324812
commit 27834ce33d

@ -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

@ -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
Loading…
Cancel
Save