ci: add nightly test for verify
authorVincent Fu <vincent.fu@samsung.com>
Mon, 24 Feb 2025 19:39:13 +0000 (19:39 +0000)
committerVincent Fu <vincentfu@gmail.com>
Thu, 6 Mar 2025 18:58:43 +0000 (13:58 -0500)
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
.github/workflows/ci.yml
ci/actions-full-test.sh

index d20a2d01ae14c56aa73f5297196ede582cbb64ee..94eec3d25ee45fbaf1e0314d9b58518e9729f1f6 100644 (file)
@@ -4,6 +4,8 @@ on:
   push:
   pull_request:
   workflow_dispatch:
+  schedule:
+    - cron: "35 5 * * *"  # 5:35 UTC which is 0:35 ET
 
 jobs:
   build-containers:
index 23bdd219820fc0fdb872d81783111fe630a38a3c..854788c1ac91f9f9c3b44132a9a2d7789faa322e 100755 (executable)
@@ -33,6 +33,19 @@ main() {
 
     fi
 
+    # If we are running a nightly test just run the verify tests.
+    # Otherwise skip the verify test script because it takes so long.
+    if [ "${GITHUB_EVENT_NAME}" == "schedule" ]; then
+       args+=(
+           --run-only
+           1017
+       )
+    else
+       skip+=(
+           1017
+       )
+    fi
+
     echo python3 t/run-fio-tests.py --skip "${skip[@]}" "${args[@]}"
     python3 t/run-fio-tests.py --skip "${skip[@]}" "${args[@]}"
     make -C doc html