ci(hdfeos5): run HDF-EOS5 test on daily schedule instead of PRs (#6495) (#6496)

The HDF-EOS5 compatibility test downloads a source tarball from
git.earthdata.nasa.gov, an external host that has proven unreliable and
frequently times out, causing spurious PR-check failures unrelated to the
code under review.

Move the test off the pull_request/push triggers onto a daily schedule
(plus workflow_dispatch) so transient network failures no longer block PR
merges, while still catching genuine HDF-EOS5 regressions on a daily
cadence. Guard the job with an owner check so it does not run on forks.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
H. Joe Lee
2026-07-01 14:01:40 -05:00
committed by GitHub
co-authored by Claude Opus 4.8
parent 8f2c548743
commit d6ca9dce8a
2 changed files with 11 additions and 21 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ There are a few that only get triggered manually.
- call-workflows.yml
- codespell.yml checks spelling
- cve.yml executes test_hdf5_cve.sh script
- hdfeos5.yml configures and builds HDF5 then tests HDF-EOS5
- hdfeos5.yml configures and builds HDF5 then tests HDF-EOS5 (runs on a daily schedule, not on pull requests)
- linkchecker.yml verifies the links in generated doxygen files
- netcdf.yml configures and builds HDF5 then tests NetCDF
+10 -20
View File
@@ -1,27 +1,16 @@
name: hdfeos5 dev
# Triggers the workflow on push or pull request or on demand
# Triggers the workflow on a daily schedule or on demand.
#
# This test downloads an HDF-EOS5 source tarball from an external host
# (git.earthdata.nasa.gov) that has proven unreliable. Running it on a daily
# schedule rather than on every pull request prevents transient network
# failures to that host from blocking PR merges, while still catching genuine
# HDF-EOS5 compatibility regressions on a daily cadence. See issue #6495.
on:
workflow_dispatch:
push:
paths-ignore:
- '.github/CODEOWNERS'
- '.github/FUNDING.yml'
- 'docs/**'
- 'release_docs/**'
- 'ACKNOWLEDGEMENTS'
- 'LICENSE**'
- '**.md'
pull_request:
branches: [ develop ]
paths-ignore:
- '.github/CODEOWNERS'
- '.github/FUNDING.yml'
- 'docs/**'
- 'release_docs/**'
- 'ACKNOWLEDGEMENTS'
- 'LICENSE**'
- '**.md'
schedule:
- cron: "30 0 * * *"
permissions:
contents: read
@@ -35,6 +24,7 @@ jobs:
build:
name: Build hdfeos5
runs-on: ubuntu-latest
if: "github.repository_owner == 'HDFGroup'"
steps:
- name: Install System dependencies
run: |