From 21df6d50c546b16d8098e6a710148e44027cc666 Mon Sep 17 00:00:00 2001 From: Steven K Date: Tue, 19 Apr 2022 14:53:31 -0700 Subject: [PATCH] Final update to the workflow --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 866182a..14b7e6d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,7 +2,10 @@ name: Djagno Datatable View Tests -on: push +on: + push: + schedule: + - cron: '0 1 * * 5' jobs: cancel: @@ -151,7 +154,7 @@ jobs: pip uninstall -y Django pip install Django${{ matrix.django-version }} - - name: Run Django Tests + - name: Run ${{ matrix.db }} Django ${{ matrix.django-version }} Tests env: PYTHONWARNINGS: once::DeprecationWarning DB_TYPE: ${{ matrix.db }} @@ -204,6 +207,7 @@ jobs: release: name: Release + if: ${{ github.event_name != 'schedule' }} runs-on: ubuntu-latest needs: [ 'cancel', 'outdated', 'black', 'pre-commit', 'security', 'tests', 'coverage' ] outputs: