Skip to content

[IT-3891] Refactor CI #79

[IT-3891] Refactor CI

[IT-3891] Refactor CI #79

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]
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
synth:
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: Generate cloudformation
uses: youyo/aws-cdk-github-actions@v2
with:
cdk_subcommand: 'synth'
actions_comment: false
debug_log: true
cdk_args: '--output ./cdk.out'