#2620: add nbmake and pytest xdist to run the notebooks as part of pieline
This commit is contained in:
@@ -126,3 +126,8 @@ stages:
|
||||
inputs:
|
||||
codeCoverageTool: Cobertura
|
||||
summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml'
|
||||
# Run the notebooks to make sure that they work
|
||||
- script: |
|
||||
pytest --nbmake -n=auto src/primaite/notebooks
|
||||
pytest --nbmake -n=auto src/primaite/simulator/_package_data
|
||||
displayName: 'Run notebooks'
|
||||
|
||||
Reference in New Issue
Block a user