-
-
Notifications
You must be signed in to change notification settings - Fork 11
38 lines (33 loc) · 1.03 KB
/
integration.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Integration Test
on:
workflow_call:
workflow_dispatch:
schedule:
- cron: "0 17 * * 1"
jobs:
test:
name: Integration Test
env:
FORCE_COLOR: 1
AMAZON_USERNAME: ${{ secrets.AMAZON_USERNAME }}
AMAZON_PASSWORD: ${{ secrets.AMAZON_PASSWORD }}
START_INDEX_FULL_HISTORY: ${{ vars.START_INDEX_FULL_HISTORY }}
TWILIO_ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}
TWILIO_AUTH_TOKEN: ${{ secrets.TWILIO_AUTH_TOKEN }}
TWILIO_PHONE_NUMBER: ${{ secrets.TWILIO_PHONE_NUMBER }}
TO_PHONE_NUMBER: ${{ secrets.TO_PHONE_NUMBER }}
NGROK_AUTHTOKEN: ${{ secrets.NGROK_AUTHTOKEN }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
- name: Test
uses: nick-fields/retry@v3
with:
timeout_minutes: 15
retry_wait_seconds: 300
max_attempts: 3
command: USE_TINY_SERVER=True make test-integration