From 9b596e59d6cb8de4c265aa1bf73032f8e5393f5c Mon Sep 17 00:00:00 2001 From: Patrick Robertson Date: Mon, 13 Jan 2025 18:33:02 +0100 Subject: [PATCH] Run expensive download tests once per week, on a month at 2:35pm (time is offset from the hour to alleviate high load on Github --- .github/workflows/tests-download.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests-download.yaml b/.github/workflows/tests-download.yaml index 1dd7a1b..16cc1fa 100644 --- a/.github/workflows/tests-download.yaml +++ b/.github/workflows/tests-download.yaml @@ -1,12 +1,10 @@ name: Download Tests on: - push: - branches: [ main, staging ] - paths: - - src/** + schedule: + - cron: '35 14 * * 1' pull_request: - branches: [ main, staging ] + branches: [ main ] paths: - src/** @@ -15,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10"] + python-version: ["3.10"] # only run expensive downloads on one python version defaults: run: working-directory: ./