Skip to content

setup CI to run linters and unit tests (#20) #1

setup CI to run linters and unit tests (#20)

setup CI to run linters and unit tests (#20) #1

Workflow file for this run

name: check
on:
pull_request:
branches: ['*']
push:
branches: ['*']
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Static Analysis
uses: pre-commit/[email protected]
- name: cdk synth
uses: youyo/aws-cdk-github-actions@v2
with:
cdk_subcommand: 'synth'
actions_comment: false
cdk_args: '--verbose'
tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies
run: pip install -r requirements.txt -r requirements-dev.txt
- name: Run unit tests
run: python -m pytest tests/ -s -v