Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/minimal-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Minimal Tests

on:
push:
branches:
- main
- main-governed-tables
pull_request:
branches:
- main
- main-governed-tables

jobs:
Check:

runs-on: ubuntu-latest
env:
AWS_DEFAULT_REGION: us-east-1
strategy:
matrix:
python-version: [3.7]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Requirements
run: |
python -m pip install --upgrade pip
pip install -U -r requirements-dev.txt
- name: Test Metadata
run: pytest tests/test_metadata.py
- name: Test Session
run: pytest tests/test_session.py
- name: Test Utils
run: pytest tests/test_utils.py
- name: Test Moto
run: pytest -n 4 tests/test_moto.py
4 changes: 2 additions & 2 deletions .github/workflows/static-checking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.7]

steps:
- uses: actions/checkout@v2
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Install Requirements
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
pip install -U -r requirements-dev.txt
- name: CloudFormation Lint - Base
run: cfn-lint -t cloudformation/base.yaml
- name: CloudFormation Lint - Databases
Expand Down