Skip to content

Commit

Permalink
Merge pull request #30 from WorkingFamilies/moveon-10
Browse files Browse the repository at this point in the history
Merge Moveon 10-c
  • Loading branch information
codygordon authored Feb 17, 2021
2 parents 8bab2ca + 6468a0f commit 8cf38e3
Show file tree
Hide file tree
Showing 155 changed files with 5,956 additions and 4,789 deletions.
5 changes: 3 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ EMAIL_HOST_USER=
EMAIL_HOST_PORT=
EMAIL_FROM=
TWILIO_MESSAGE_VALIDITY_PERIOD=
DST_REFERENCE_TIMEZONE='America/New_York'
DST_REFERENCE_TIMEZONE='US/Eastern'
DEFAULT_TZ='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 8cf38e3

Please sign in to comment.