Skip to content

Commit

Permalink
Merge pull request #1900 from MoveOnOrg/stage-main-10-a
Browse files Browse the repository at this point in the history
Stage-main 10-pre
  • Loading branch information
schuyler1d authored Jan 27, 2021
2 parents 30e5021 + 7bcc703 commit a8a9ffb
Show file tree
Hide file tree
Showing 184 changed files with 8,198 additions and 4,855 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ EMAIL_HOST_USER=
EMAIL_HOST_PORT=
EMAIL_FROM=
TWILIO_MESSAGE_VALIDITY_PERIOD=
DST_REFERENCE_TIMEZONE='America/New_York'
DST_REFERENCE_TIMEZONE='US/Eastern'
PASSPORT_STRATEGY=local
TEXTER_SIDEBOXES=celebration-gif,default-dynamicassignment,default-releasecontacts,contact-reference,tag-contact,freshworks-widget,default-editinitial,take-conversations
TEXTER_SIDEBOXES=celebration-gif,default-dynamicassignment,default-releasecontacts,contact-reference,tag-contact,freshworks-widget,default-editinitial,take-conversations,hide-media,texter-feedback
OWNER_CONFIGURABLE=ALL
59 changes: 59 additions & 0 deletions .github/workflows/cypress-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
name: Integration Tests

on: [push]

jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node-version: [12.x]
services:
redis:
image: redis
ports:
- 6379:6379
postgres:
image: postgres:10
env:
POSTGRES_USER: spoke_test
POSTGRES_PASSWORD: spoke_test
POSTGRES_DB: spoke_test
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v2
- name: Cypress run
uses: cypress-io/github-action@v2
env:
NODE_ENV: test
PORT: 3001
OUTPUT_DIR: ./build
ASSETS_DIR: ./build/client/assets
ASSETS_MAP_FILE: assets.json
DB_TYPE: pg
DB_NAME: spoke_test
DB_USER: spoke_test
DB_PASSWORD: spoke_test
SESSION_SECRET: secret
DEFAULT_SERVICE: fakeservice
JOBS_SAME_PROCESS: 1
PASSPORT_STRATEGY: local
PHONE_INVENTORY: 1
with:
browser: chrome
build: npm run prod-build
start: npm start
wait-on: 'http://localhost:3001'
- uses: actions/upload-artifact@v1
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
- uses: actions/upload-artifact@v1
if: failure()
with:
name: cypress-videos
path: cypress/videos
24 changes: 0 additions & 24 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit a8a9ffb

Please sign in to comment.