File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 22# DESCRIPTION: Docker file for covid-xprize
33# Created to make CI with Codefresh easier
44
5- FROM python:3.6 -slim
5+ FROM python:3.10 -slim
66
77ENV APPS_HOME /usr/local/cognizant
88ENV COVID_APP_HOME ${APPS_HOME}/covid-xprize
Original file line number Diff line number Diff line change 44 start_clean :
55 title : Clean up CodeFresh volume
66 # Images come from hierarchy at: https://github.com/docker-library/python
7- image : python:3.6 -slim
7+ image : python:3.10 -slim
88 commands :
99 - rm -rf '${{CF_REPO_NAME}}'
1010
1515 revision : ' ${{CF_REVISION}}'
1616 git : github
1717
18- covid-prize -build :
18+ covid-xprize -build :
1919 title : Build covid-xprize Docker image
2020 image_name : intermediate
2121 type : build
@@ -25,14 +25,14 @@ steps:
2525
2626 tests :
2727 title : Run unit tests
28- image : ${{covid-prize -build}}
28+ image : ${{covid-xprize -build}}
2929 description : Run unit tests (nosetests)
3030 working_directory : ${{CF_REPO_NAME}}
3131 commands :
32- - nosetests -v
32+ - pytest --verbose
3333
3434 end_clean :
3535 title : Clean up CodeFresh volume
36- image : python:3.6 -slim
36+ image : python:3.10 -slim
3737 commands :
3838 - rm -rf '${{CF_REPO_NAME}}'
Original file line number Diff line number Diff line change @@ -6,10 +6,13 @@ notebook==6.5.3
66scikit-learn == 1.2.2
77scipy == 1.10.1
88tensorflow == 2.11.1
9- keras == 2.12 .0
9+ keras == 2.11 .0
1010neat-python == 0.92
1111h5py == 3.8.0
1212
1313# plotting
1414plotly == 5.13.1
1515matplotlib == 3.7.1
16+
17+ # tests
18+ pytest == 7.3.1
You can’t perform that action at this time.
0 commit comments