Skip to content

Merge pull request #1 from robertasstankevicius/cdk-v2 #5

Merge pull request #1 from robertasstankevicius/cdk-v2

Merge pull request #1 from robertasstankevicius/cdk-v2 #5

name: Pipeline
defaults:
run:
shell: bash
on:
push:
branches:
- master
jobs:
install-test-build-push:
runs-on: ubuntu-latest
container: biomapas/cicd-full:5.0.0
steps:
- uses: actions/checkout@v3
- name: Install
run: |
npm install -g aws-cdk
pip install . --upgrade
pip list
- name: Test
run: |
pip install -r b_cfn_lambda_integration_test/requirements.txt
pytest b_cfn_lambda_integration_test/unit
- name: Install
run: pip install wheel twine
- name: Build
run: python setup.py sdist bdist_wheel
- name: Upload
run: twine upload dist/* -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }}