Skip to content

Merge branch 'main' into dev #45

Merge branch 'main' into dev

Merge branch 'main' into dev #45

name : CI Pipeline - DEV
on:
push:
branches:
- dev
env:
GIT__BRANCH : 'dev'
PACKAGE_NAME : 'osbot_aws'
RELEASE_TYPE : 'minor'
jobs:
run-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Start MinIO Server
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/docker__minio@dev
- name: Start DynamoDB Local Server
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/docker__dynamo_db@dev
- name: Poetry - Install Dependencies
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/poetry__install@dev
with:
pip_install: '-r requirements-test.txt'
- name: Run Unit Tests (using Poetry)
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/poetry__run-unit-tests@dev
- name: Run Integrations Tests (using Poetry)
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/poetry__run-unit-tests@dev
with:
test_target: 'tests/integration'
env:
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION : ${{ secrets.AWS_DEFAULT_REGION }}
AWS_ACCOUNT_ID : ${{ secrets.AWS_ACCOUNT_ID }}
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
increment-tag:
name: Increment Tag - DEV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Increment Tag (for DEV)
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/git__increment-tag@dev
with:
release_type: ${{env.RELEASE_TYPE}}
needs:
- run-unit-tests