Skip to content

Commit

Permalink
Temporarily disable all demos except the one failing
Browse files Browse the repository at this point in the history
  • Loading branch information
ptormene committed Jul 31, 2023
1 parent c9dd3ff commit d6f24fe
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/macos_m1_monterey_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,19 @@ jobs:
oq info cfg
cd /Users/runner/runner-isolation/actions-runner/_work/oq-engine/oq-engine/demos
ls -lrt
# run demos with job_hazard.ini and job_risk.ini
for demo_dir in $(find . -type d | sort); do
if [ -f $demo_dir/job_hazard.ini ]; then
oq engine --run $demo_dir/job_hazard.ini --exports npz -p pointsource_distance=0
oq engine --run $demo_dir/job_risk.ini --hc -1
fi
done
# run the other demos
for ini in $(find . -name job.ini | sort); do
oq engine --run $ini --exports xml,hdf5 -p pointsource_distance=0 -r
done
# # run demos with job_hazard.ini and job_risk.ini
# for demo_dir in $(find . -type d | sort); do
# if [ -f $demo_dir/job_hazard.ini ]; then
# oq engine --run $demo_dir/job_hazard.ini --exports npz -p pointsource_distance=0
# oq engine --run $demo_dir/job_risk.ini --hc -1
# fi
# done
# # run the other demos
# for ini in $(find . -name job.ini | sort); do
# oq engine --run $ini --exports xml,hdf5 -p pointsource_distance=0 -r
# done
# FIXME
oq engine -run ./risk/InfrastructureRiskRoadNetwork/job_ini --exports xml,hdf5 -p pointsource_distance=0 -r
- name: Run pytest to test installation
run: |
source ~/openquake/bin/activate
Expand Down

0 comments on commit d6f24fe

Please sign in to comment.