Merge pull request #1 from robertasstankevicius/cdk-v2 #5
This file contains 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: 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 }} |