Skip to content

Commit

Permalink
Add weekly run to scheduled tests (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
everaldorodrigo authored Aug 28, 2024
1 parent 1882084 commit a438926
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/scheduled_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
schedule: # Scheduled trigger
- cron: "15,45 14-23,0-1 * * 1-5" # At minutes 15 and 45 past every hour from 14:00 through 01:00 on every day-of-week from Monday through Friday.
- cron: "15 7,13 * * 1-5" # At minute 15 past hour 7 and 13 on every day-of-week from Monday through Friday.
- cron: "0 14 * * 1" # At 14:00 on Monday (once a week).

jobs:
run_app_tests:
Expand Down Expand Up @@ -44,6 +45,11 @@ jobs:
pip install -r requirements_web.txt
pip install pytest boto3
pip install .venv/lib/python${{ matrix.python-version }}/site-packages/biothings/tests/slack_test_notification
- name: Set BYPASS_VERSION_CHECK for weekly run to bypass the version check
if: github.event.schedule == '0 14 * * 1'
run: echo "BYPASS_VERSION_CHECK=True" >> $GITHUB_ENV

- name: Run pytest
run: |
source .venv/bin/activate
Expand Down

0 comments on commit a438926

Please sign in to comment.