Skip to content

Signup Service Smoke Test #42

Signup Service Smoke Test

Signup Service Smoke Test #42

Workflow file for this run

name: "Signup Service Smoke Test"
on:
workflow_dispatch:
workflow_run:
workflows: ["GCP Cloud Functions Deploy"]
branches: [main]
types: [completed]
push:
branches:
- "main"
jobs:
smoke-test:
name: "Smoke Test"
environment: production
env:
GCP_SA_CREDS_JSON: ${{secrets.GCP_SA_CREDS_JSON}}
SMOKE_LIVE: "true"
TEST_TO_EMAIL: ${{secrets.TEST_TO_EMAIL}}
TEST_TO_NUM: ${{secrets.TEST_TO_NUM}}
TWILIO_ACCOUNT_SID: ${{secrets.TWILIO_ACCOUNT_SID}}
TWILIO_AUTH_TOKEN: ${{secrets.TWILIO_AUTH_TOKEN}}
TWILIO_PHONE_NUMBER: ${{secrets.TWILIO_PHONE_NUMBER}}
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Checkout
uses: actions/checkout@v3
- name: "Run Signup Smoke Test"
run: |
cd cmd/smoke
go test