Add AWS Lambda for upcoming data integration (ARCH-356) #184
Workflow file for this run
This file contains hidden or 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: check | |
| on: | |
| pull_request: | |
| branches: ['*'] | |
| push: | |
| branches: ['*'] | |
| jobs: | |
| unit-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' |