scheduling the sanity tests to run nightly instead of via push

This commit is contained in:
Adam Brown 2021-11-08 15:11:25 +00:00
parent 3add33eb0d
commit 48ebb8e416
1 changed files with 5 additions and 3 deletions

View File

@ -1,9 +1,9 @@
name: Sanity Test name: Sanity Test
on: on:
pull_request: { } schedule:
push: # At 20:00 every day UTC
branches: [ main, develop ] - cron: '0 20 * * *'
# Enrich gradle.properties for CI/CD # Enrich gradle.properties for CI/CD
env: env:
@ -21,6 +21,8 @@ jobs:
api-level: [28] api-level: [28]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
ref: develop
- name: Set up Python 3.8 - name: Set up Python 3.8
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with: