#3075: Code review changes.
This commit is contained in:
@@ -113,8 +113,8 @@ stages:
|
|||||||
- script: |
|
- script: |
|
||||||
pytest --nbmake -n=auto src/primaite/notebooks --junit-xml=./notebook-tests/notebooks.xml
|
pytest --nbmake -n=auto src/primaite/notebooks --junit-xml=./notebook-tests/notebooks.xml
|
||||||
notebooks_exit_code=$?
|
notebooks_exit_code=$?
|
||||||
# Fail step if either of these do not have exit code 0
|
# Fail step if exit code not equal to 0
|
||||||
if [ $notebooks_exit_code -ne 0 ] || [ $package_notebooks_exit_code -ne 0 ]; then
|
if [ $notebooks_exit_code -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
displayName: 'Run notebooks on Linux and macOS'
|
displayName: 'Run notebooks on Linux and macOS'
|
||||||
@@ -124,9 +124,8 @@ stages:
|
|||||||
- script: |
|
- script: |
|
||||||
pytest --nbmake -n=auto src/primaite/notebooks --junit-xml=./notebook-tests/notebooks.xml
|
pytest --nbmake -n=auto src/primaite/notebooks --junit-xml=./notebook-tests/notebooks.xml
|
||||||
set notebooks_exit_code=%ERRORLEVEL%
|
set notebooks_exit_code=%ERRORLEVEL%
|
||||||
rem Fail step if either of these do not have exit code 0
|
rem Fail step if exit code not equal to 0
|
||||||
if %notebooks_exit_code% NEQ 0 exit /b 1
|
if %notebooks_exit_code% NEQ 0 exit /b 1
|
||||||
if %package_notebooks_exit_code% NEQ 0 exit /b 1
|
|
||||||
displayName: 'Run notebooks on Windows'
|
displayName: 'Run notebooks on Windows'
|
||||||
condition: eq(variables['Agent.OS'], 'Windows_NT')
|
condition: eq(variables['Agent.OS'], 'Windows_NT')
|
||||||
|
|
||||||
|
|||||||
@@ -289,10 +289,10 @@
|
|||||||
" action_space:\n",
|
" action_space:\n",
|
||||||
" action_map:\n",
|
" action_map:\n",
|
||||||
" 0:\n",
|
" 0:\n",
|
||||||
" action: do_nothing\n",
|
" action: do-nothing\n",
|
||||||
" options: {}\n",
|
" options: {}\n",
|
||||||
" 1:\n",
|
" 1:\n",
|
||||||
" action: node_application_execute\n",
|
" action: node-application-execute\n",
|
||||||
" options:\n",
|
" options:\n",
|
||||||
" node_name: client_1\n",
|
" node_name: client_1\n",
|
||||||
" application_name: DataManipulationBot\n",
|
" application_name: DataManipulationBot\n",
|
||||||
|
|||||||
@@ -37,10 +37,10 @@ agents:
|
|||||||
action_space:
|
action_space:
|
||||||
action_map:
|
action_map:
|
||||||
0:
|
0:
|
||||||
action: do_nothing
|
action: do-nothing
|
||||||
options: {}
|
options: {}
|
||||||
1:
|
1:
|
||||||
action: node_application_execute
|
action: node-application-execute
|
||||||
options:
|
options:
|
||||||
node_name: client_2
|
node_name: client_2
|
||||||
application_name: web-browser
|
application_name: web-browser
|
||||||
|
|||||||
Reference in New Issue
Block a user