add examples to CI
@@ -35,7 +35,13 @@ jobs:
working-directory: ./tests
run: |
pip install pytest
- pytest test*.py unittests/test*.py --junitxml=test-results.xml
+ pytest test*.py unittests/test*.py --junitxml=test-results.xml # Run actual tests
+ - name: Run examples
+ working-directory: ./examples
+ run: python examples/*.py
+ - name: Run cruise ship
+ working-directory: ./covasim/cruise_ship
+ run: python test*.py
- name: Upload test results
uses: actions/upload-artifact@v1
if: failure()
