Skip to content

Attempt to add CORS to shared apigateway #424

Attempt to add CORS to shared apigateway

Attempt to add CORS to shared apigateway #424

Workflow file for this run

name: Run Python Tests with Pytest
on:
push:
branches:
- mainline
pull_request:
branches:
- mainline
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python 3
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r cdk/requirements.txt
- name: Test Lambdas
run: pytest cdk/visit/lambda_code
env:
AWS_DEFAULT_REGION: us-east-1
AWS_REGION: us-east-1
ORIGINAL_TABLE_NAME: original
USERS_TABLE_NAME: users
VISITS_TABLE_NAME: visits
QUIZ_LIST_TABLE_NAME: quiz_list
QUIZ_PROGRESS_TABLE_NAME: quiz_progress
DOMAIN_NAME: https://visit.cumaker.space
ENV: Prod