#2620: add nbmake and pytest xdist to run the notebooks as part of pieline

This commit is contained in:
Czar Echavez
2024-06-28 16:33:24 +01:00
parent e7fc01781e
commit a4424608dd
2 changed files with 8 additions and 1 deletions

View File

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