workflow: added daily tests
Existing daily tests run "Main Action" workflow from
pull-request.yml at 00:00 UTC time.
Tests may also be executed manually from Github Action tab.
Signed-off-by: Andrey Borisovich <andrey.borisovich@intel.com>
diff --git a/.github/workflows/daily-tests.yml b/.github/workflows/daily-tests.yml
new file mode 100644
index 0000000..70a963e
--- /dev/null
+++ b/.github/workflows/daily-tests.yml
@@ -0,0 +1,20 @@
+---
+# https://docs.github.com/en/actions/using-workflows/reusing-workflows
+# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
+
+name: Daily tests
+
+# yamllint disable-line rule:truthy
+on:
+ # To configure goto https://crontab.guru/
+ schedule:
+ # daily at 00:00 UTC
+ - cron: '0 0 * * *'
+ # Allows you to run this workflow manually from the Actions tab
+ workflow_dispatch:
+
+jobs:
+ run-all-main-actions:
+ uses: ./.github/workflows/pull-request.yml
+ run-zephyr-builds:
+ uses: ./.github/workflows/zephyr.yml