Skip to content

minor fix

minor fix #14

name: CI Pipeline - DEV
on:
workflow_dispatch:
push:
branches:
- dev
env:
GIT__BRANCH : 'dev'
RELEASE_TYPE : 'minor'
PACKAGE_NAME : 'osbot_serverless_s3_browser'
jobs:
run-tests:
name: "Run tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # Checkout the code in dev branch
- name: Start Local Stack
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/docker__local-stack@dev # start LocalStack in GitHub actions
with:
LOCAL_STACK_SERVICES: 's3,lambda,iam,logs'
- name: "run-tests"
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/pytest__run-tests@dev # run tests (which use Local Stack)
with:
test_target: "tests/unit"
env:
FAST_API__AUTH__API_KEY__NAME : 'api-key__in_github_test'
FAST_API__AUTH__API_KEY__VALUE : 'this-is-the-value-of-the-api-key'
increment-tag:
name: Increment Tag - DEV
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Increment Tag
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/git__increment-tag@dev
with:
release_type: ${{ env.RELEASE_TYPE }}
needs:
- run-tests
publish-to-pypi:
if: False
name: "Publish to: PYPI"
permissions:
id-token: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Git Update Current Branch
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/git__update_branch@dev
- name: publish-to-pypi
uses: owasp-sbot/OSBot-GitHub-Actions/.github/actions/pypi__twine__publish@dev
needs:
- increment-tag