Attempt to add CORS to shared apigateway #424
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |