From dedc26a12c9c1608f6278764a25b114e18802557 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Mon, 1 Jan 2024 16:45:45 +0800 Subject: [PATCH 1/3] CI: Cache the earth_day_01d_p grid --- pygmt/helpers/testing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pygmt/helpers/testing.py b/pygmt/helpers/testing.py index 4be33902768..51e57a7ffc7 100644 --- a/pygmt/helpers/testing.py +++ b/pygmt/helpers/testing.py @@ -196,6 +196,8 @@ def download_test_data(): # Earth WDMAM grids "@earth_wdmam_01d_g", "@S90E000.earth_wdmam_03m_g.nc", # Specific grid for 03m test + # Earth day/night grids + "@earth_day_01d_p", # Other cache files "@capitals.gmt", "@circuit.png", From 16b8d7dfb3f3323a3134ae054298064c43e1e2f7 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Mon, 1 Jan 2024 16:46:11 +0800 Subject: [PATCH 2/3] Temporarily enable the cache --- .github/workflows/cache_data.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cache_data.yaml b/.github/workflows/cache_data.yaml index 998158789b5..c3b48e37529 100644 --- a/.github/workflows/cache_data.yaml +++ b/.github/workflows/cache_data.yaml @@ -12,7 +12,7 @@ name: Cache data on: # Uncomment the 'pull_request' line below to manually re-cache data artifacts - # pull_request: + pull_request: # Schedule runs on 12 noon every Sunday schedule: - cron: '0 12 * * 0' From 2ceb6eb3b1bb5f17c10236a3411b5e2704785cb7 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 2 Jan 2024 08:32:34 +0800 Subject: [PATCH 3/3] Update .github/workflows/cache_data.yaml --- .github/workflows/cache_data.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cache_data.yaml b/.github/workflows/cache_data.yaml index c3b48e37529..998158789b5 100644 --- a/.github/workflows/cache_data.yaml +++ b/.github/workflows/cache_data.yaml @@ -12,7 +12,7 @@ name: Cache data on: # Uncomment the 'pull_request' line below to manually re-cache data artifacts - pull_request: + # pull_request: # Schedule runs on 12 noon every Sunday schedule: - cron: '0 12 * * 0'