From a6e1c6a08067f495f085be691ea359dc9de63146 Mon Sep 17 00:00:00 2001 From: Melissa DeLucchi <113376043+delucchi-cmu@users.noreply.github.com> Date: Mon, 26 Oct 2026 13:27:49 -0400 Subject: [PATCH] Only run smoke tests on weekdays. --- .github/workflows/smoke-test.yml | 2 +- .../{% if contains_code %}smoke-test.yml{% endif %}.jinja | 2 +- .../{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/smoke-test.yml b/.github/workflows/smoke-test.yml index a1468eb..6ff9b9a 100644 --- a/.github/workflows/smoke-test.yml +++ b/.github/workflows/smoke-test.yml @@ -9,7 +9,7 @@ on: # Runs this workflow automatically schedule: - - cron: 45 6 * * * + - cron: 45 6 * * 1-5 # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/python-project-template/.github/workflows/{% if contains_code %}smoke-test.yml{% endif %}.jinja b/python-project-template/.github/workflows/{% if contains_code %}smoke-test.yml{% endif %}.jinja index ae17bcb..af73239 100644 --- a/python-project-template/.github/workflows/{% if contains_code %}smoke-test.yml{% endif %}.jinja +++ b/python-project-template/.github/workflows/{% if contains_code %}smoke-test.yml{% endif %}.jinja @@ -9,7 +9,7 @@ on: # Runs this workflow automatically schedule: - - cron: 45 6 * * * + - cron: 45 6 * * 1-5 # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja index 745b136..6b160f0 100644 --- a/python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja +++ b/python-project-template/.github/workflows/{% if include_benchmarks %}asv-nightly.yml{% endif %}.jinja @@ -6,7 +6,7 @@ name: Run benchmarks nightly job on: schedule: - - cron: 45 6 * * * + - cron: 45 6 * * 1-5 workflow_dispatch: permissions: {}