|
6 | 6 | pull_request: |
7 | 7 | paths: |
8 | 8 | - "tests/smoke/**" |
| 9 | + - ".github/workflows/test-smoke.yml" |
9 | 10 |
|
10 | 11 | concurrency: |
11 | 12 | group: ${{ github.workflow }}-${{ github.head_ref }} |
12 | 13 | cancel-in-progress: true |
13 | 14 |
|
14 | 15 | env: |
15 | | - BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }} |
16 | 16 | BW_USERNAME: ${{ secrets.BW_USERNAME }} |
17 | 17 | BW_PASSWORD: ${{ secrets.BW_PASSWORD }} |
18 | 18 | BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }} |
19 | 19 | BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }} |
20 | | - BW_VOICE_APPLICATION_ID: ${{ secrets.BW_VOICE_APPLICATION_ID }} |
21 | | - BW_MESSAGING_APPLICATION_ID: ${{ secrets.BW_MESSAGING_APPLICATION_ID }} |
22 | | - BW_NUMBER: ${{ secrets.BW_NUMBER }} |
23 | 20 | USER_NUMBER: ${{ secrets.USER_NUMBER }} |
24 | 21 | BASE_CALLBACK_URL: ${{ secrets.BASE_CALLBACK_URL }} |
25 | 22 | MANTECA_ACTIVE_NUMBER: ${{ secrets.MANTECA_ACTIVE_NUMBER }} |
|
31 | 28 | test_main: |
32 | 29 | name: Smoke Test |
33 | 30 | runs-on: ubuntu-latest |
| 31 | + env: |
| 32 | + BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }} |
| 33 | + BW_VOICE_APPLICATION_ID: ${{ secrets.BW_VOICE_APPLICATION_ID }} |
| 34 | + BW_MESSAGING_APPLICATION_ID: ${{ secrets.BW_MESSAGING_APPLICATION_ID }} |
| 35 | + BW_NUMBER: ${{ secrets.BW_NUMBER }} |
34 | 36 | steps: |
35 | 37 | - name: Checkout |
36 | 38 | uses: actions/checkout@v4 |
|
47 | 49 | env: |
48 | 50 | OPERATING_SYSTEM: "ubuntu" |
49 | 51 |
|
| 52 | + test_main_up: |
| 53 | + name: Smoke Test UP Account |
| 54 | + runs-on: ubuntu-latest |
| 55 | + env: |
| 56 | + BW_ACCOUNT_ID: ${{ secrets.BW_UP_ACCOUNT_ID }} |
| 57 | + BW_VOICE_APPLICATION_ID: ${{ secrets.BW_UP_VOICE_APPLICATION_ID }} |
| 58 | + BW_MESSAGING_APPLICATION_ID: ${{ secrets.BW_UP_MESSAGING_APPLICATION_ID }} |
| 59 | + BW_NUMBER: ${{ secrets.BW_UP_NUMBER }} |
| 60 | + steps: |
| 61 | + - name: Checkout |
| 62 | + uses: actions/checkout@v4 |
| 63 | + |
| 64 | + - name: Setup Node |
| 65 | + uses: actions/setup-node@v4 |
| 66 | + with: |
| 67 | + node-version: 22 |
| 68 | + |
| 69 | + - name: Install Packages and Test |
| 70 | + run: | |
| 71 | + yarn |
| 72 | + yarn test-smoke-up |
| 73 | + env: |
| 74 | + OPERATING_SYSTEM: "ubuntu" |
| 75 | + |
50 | 76 | notify_for_failures: |
51 | 77 | name: Notify for Failures |
52 | | - needs: [test_main] |
| 78 | + needs: [test_main, test_main_up] |
53 | 79 | if: failure() |
54 | 80 | runs-on: ubuntu-latest |
55 | 81 | steps: |
|
0 commit comments