diff --git a/.github/workflows/calibrations.yaml b/.github/workflows/calibrations.yaml index 9dfb8ae271..4c33abb483 100644 --- a/.github/workflows/calibrations.yaml +++ b/.github/workflows/calibrations.yaml @@ -3,6 +3,8 @@ name: "Calibrations (nightly)" on: schedule: - cron: 31 2 * * * + pull_request: + branches: "master" jobs: name: "Calibration for model ${{ matrix.hs_mode }}" diff --git a/.github/workflows/calibrations_common.yaml b/.github/workflows/calibrations_common.yaml index b6d691b6b7..3e6ee21d55 100644 --- a/.github/workflows/calibrations_common.yaml +++ b/.github/workflows/calibrations_common.yaml @@ -166,7 +166,7 @@ jobs: task_output_dir="${{ needs.setup.outputs.output_dir }}/${RUN_NAME}/${draw}/${{ matrix.index }}" mkdir -p "${task_output_dir}" - tlo scenario-run --output-dir "${task_output_dir}" --draw "${draw}" ${{ matrix.index }} "${{ needs.setup.outputs.worktree_path }}/src/scripts/calibration_analyses/scenarios/long_run_all_diseases.py" --healthsystem-mode ${{ input.hs_mode }} + tlo scenario-run --output-dir "${task_output_dir}" --draw "${draw}" ${{ matrix.index }} "${{ needs.setup.outputs.worktree_path }}/src/scripts/calibration_analyses/scenarios/long_run_all_diseases.py" --healthsystem-mode ${{ input.hs_mode }} --end-date '2011-01-01' working-directory: "${{ needs.setup.outputs.worktree_path }}" # Do the postprocessing