-
Notifications
You must be signed in to change notification settings - Fork 13
34 lines (33 loc) · 1.05 KB
/
pytest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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