diff --git a/.github/workflows/macos_m1_monterey_install.yml b/.github/workflows/macos_m1_monterey_install.yml index c8128d738e3f..ea36b916a5cc 100644 --- a/.github/workflows/macos_m1_monterey_install.yml +++ b/.github/workflows/macos_m1_monterey_install.yml @@ -83,6 +83,7 @@ jobs: - name: Run demos to test installation run: | set -x + source ~/openquake/bin/activate oq info venv oq info cfg cd /Users/runner/runner-isolation/actions-runner/_work/oq-engine/oq-engine/demos @@ -102,29 +103,34 @@ jobs: - name: Run tests for calculators and advanced manual to test installation if: always() run: | + source ~/openquake/bin/activate cd /Users/runner/runner-isolation/actions-runner/_work/oq-engine/oq-engine/ pytest --doctest-modules --disable-warnings --color=yes --durations=10 openquake/calculators && pytest doc/adv-manual/*.rst - name: Run tests for hazardlib, sep, commands, engine, hmtk, risklib, commonlib and baselib to test installation if: always() run: | + source ~/openquake/bin/activate cd /Users/runner/runner-isolation/actions-runner/_work/oq-engine/oq-engine/openquake/ pytest --doctest-modules --disable-warnings --color=yes --durations=10 hazardlib sep commands engine hmtk risklib commonlib baselib - name: Run tests for the engine server in public mode to test installation if: always() run: | + source ~/openquake/bin/activate cd /Users/runner/runner-isolation/actions-runner/_work/oq-engine/oq-engine/ OQ_APPLICATION_MODE=public ./openquake/server/manage.py test tests.test_public_mode - name: Run tests for the engine server in read-only mode to test installation if: always() run: | + source ~/openquake/bin/activate cd /Users/runner/runner-isolation/actions-runner/_work/oq-engine/oq-engine/ OQ_APPLICATION_MODE=read_only ./openquake/server/manage.py test tests.test_read_only_mode - name: Run tests for the engine server in aelo mode to test installation if: always() run: | + source ~/openquake/bin/activate cd /Users/runner/runner-isolation/actions-runner/_work/oq-engine/oq-engine/ OQ_APPLICATION_MODE=aelo OQ_CONFIG_FILE=openquake/server/tests/data/openquake.cfg ./openquake/server/manage.py test tests.test_aelo_mode