Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test github action weekly run. #115

Merged
merged 1 commit into from
Aug 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/scheduled_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ 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).
- cron: "40 21 * * 3" # At 21:40 on Wednesday (once a week) - FOR TESTING.

jobs:
run_app_tests:
Expand Down Expand Up @@ -45,6 +47,14 @@ jobs:
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: Set BYPASS_VERSION_CHECK for weekly run to bypass the version check - FOR TESTING
if: github.event.schedule == '40 21 * * 3'
run: echo "BYPASS_VERSION_CHECK=True" >> $GITHUB_ENV

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