Skip to content

Commit 706a26a

Browse files
committed
update smoke test wf
1 parent ed7027c commit 706a26a

File tree

1 file changed

+31
-4
lines changed

1 file changed

+31
-4
lines changed

.github/workflows/test-smoke.yml

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,10 @@ concurrency:
1414
cancel-in-progress: true
1515

1616
env:
17-
BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
1817
BW_USERNAME: ${{ secrets.BW_USERNAME }}
1918
BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
2019
BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
2120
BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }}
22-
BW_VOICE_APPLICATION_ID: ${{ secrets.BW_VOICE_APPLICATION_ID }}
23-
BW_MESSAGING_APPLICATION_ID: ${{ secrets.BW_MESSAGING_APPLICATION_ID }}
24-
BW_NUMBER: ${{ secrets.BW_NUMBER }}
2521
USER_NUMBER: ${{ secrets.USER_NUMBER }}
2622
BASE_CALLBACK_URL: ${{ secrets.BASE_CALLBACK_URL }}
2723
MANTECA_ACTIVE_NUMBER: ${{ secrets.MANTECA_ACTIVE_NUMBER }}
@@ -33,6 +29,37 @@ jobs:
3329
test_main:
3430
name: Smoke Test
3531
runs-on: ubuntu-latest
32+
env:
33+
BW_NUMBER: ${{ secrets.BW_NUMBER }}
34+
BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
35+
BW_VOICE_APPLICATION_ID: ${{ secrets.BW_VOICE_APPLICATION_ID }}
36+
BW_MESSAGING_APPLICATION_ID: ${{ secrets.BW_MESSAGING_APPLICATION_ID }}
37+
steps:
38+
- name: Checkout
39+
uses: actions/checkout@v4
40+
41+
- name: Set up Ruby
42+
uses: ruby/setup-ruby@v1
43+
with:
44+
ruby-version: 3.3
45+
46+
- name: Install Packages and Test
47+
run: |
48+
bundle install
49+
rake smoke
50+
env:
51+
RUBY_VERSION: 3.3
52+
OPERATING_SYSTEM: ubuntu
53+
shell: bash
54+
55+
test_main_up:
56+
name: Smoke Test UP Account
57+
runs-on: ubuntu-latest
58+
env:
59+
BW_NUMBER: ${{ secrets.BW_UP_NUMBER }}
60+
BW_ACCOUNT_ID: ${{ secrets.BW_UP_ACCOUNT_ID }}
61+
BW_VOICE_APPLICATION_ID: ${{ secrets.BW_UP_VOICE_APPLICATION_ID }}
62+
BW_MESSAGING_APPLICATION_ID: ${{ secrets.BW_UP_MESSAGING_APPLICATION_ID }}
3663
steps:
3764
- name: Checkout
3865
uses: actions/checkout@v4

0 commit comments

Comments
 (0)