From 3b3bf9c1eb59210cc161d374564794eda8b1af25 Mon Sep 17 00:00:00 2001 From: damies13 Date: Sun, 24 Mar 2024 10:58:12 +1000 Subject: [PATCH] On push and schedule python versions --- .github/workflows/Regression_Tests.yaml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Regression_Tests.yaml b/.github/workflows/Regression_Tests.yaml index 3b84de9..2066531 100644 --- a/.github/workflows/Regression_Tests.yaml +++ b/.github/workflows/Regression_Tests.yaml @@ -1,15 +1,23 @@ --- name: Regression Tests -on: push +on: + push: # Run when changes pushed to any branch + schedule: # Run as per cron shedule on default branch (master) + - cron: '13 13 13 3,6,9,12 *' + +# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions +# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule +# https://crontab.guru/#13_13_13_3,6,9,12_* + jobs: Agent: strategy: matrix: platform: [ubuntu-latest, macos-latest, windows-latest] - # python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] - python: ['3.7'] + python: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.x'] + # python: ['3.7'] fail-fast: false runs-on: ${{ matrix.platform }} steps: