#3075: Remove references to src/primaite/simulator/_package_data after notebook move.
This commit is contained in:
@@ -113,8 +113,6 @@ 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=$?
|
||||||
pytest --nbmake -n=auto src/primaite/simulator/_package_data --junit-xml=./notebook-tests/package-notebooks.xml
|
|
||||||
package_notebooks_exit_code=$?
|
|
||||||
# Fail step if either of these do not have exit code 0
|
# Fail step if either of these do not have exit code 0
|
||||||
if [ $notebooks_exit_code -ne 0 ] || [ $package_notebooks_exit_code -ne 0 ]; then
|
if [ $notebooks_exit_code -ne 0 ] || [ $package_notebooks_exit_code -ne 0 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
@@ -126,8 +124,6 @@ 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%
|
||||||
pytest --nbmake -n=auto src/primaite/simulator/_package_data --junit-xml=./notebook-tests/package-notebooks.xml
|
|
||||||
set package_notebooks_exit_code=%ERRORLEVEL%
|
|
||||||
rem Fail step if either of these do not have exit code 0
|
rem Fail step if either of these do not have exit code 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
|
if %package_notebooks_exit_code% NEQ 0 exit /b 1
|
||||||
|
|||||||
@@ -1,3 +1,2 @@
|
|||||||
include src/primaite/setup/_package_data/primaite_config.yaml
|
include src/primaite/setup/_package_data/primaite_config.yaml
|
||||||
include src/primaite/config/_package_data/*.yaml
|
include src/primaite/config/_package_data/*.yaml
|
||||||
include src/primaite/simulator/_package_data/*.ipynb
|
|
||||||
|
|||||||
Reference in New Issue
Block a user