Run full build variants with tests on a weekly schedule

This commit is contained in:
Roger A. Light
2026-06-15 23:44:51 +01:00
committed by Roger Light
parent 01dc73a60c
commit 7ecbb80258
2 changed files with 13 additions and 2 deletions
+8 -1
View File
@@ -13,6 +13,8 @@ on:
- develop
- fixes
- release/*
schedule:
- cron: "0 2 * * 2"
jobs:
build:
@@ -55,8 +57,13 @@ jobs:
with:
submodules: 'true'
- name: build
- name: build on push and pull_request
if: ${{ github.event_name != 'scheduled' }}
run: ./buildtest.py
- name: build and test on schedule
if: ${{ github.event_name == 'scheduled' }}
run: ./buildtest.py --tests
- name: Report ccache stats
run: ccache -s
+5 -1
View File
@@ -48,6 +48,7 @@ import os
import random
import shutil
import subprocess
import sys
import time
class Duration():
@@ -124,6 +125,9 @@ def random_tests(count, run_tests):
if __name__ == "__main__":
run_tests = False
if len(sys.argv) > 1 and sys.argv[1] == "--tests":
run_tests = True
else:
run_tests = False
simple_tests(run_tests)
#random_tests(2, run_tests)