Skip to content

added Mock_Obj__Fast_API_Requeest_Data #29

added Mock_Obj__Fast_API_Requeest_Data

added Mock_Obj__Fast_API_Requeest_Data #29

name : CI Pipeline - DEV
on:
push:
branches:
- dev
env:
GIT__BRANCH : 'dev'
PACKAGE_NAME : 'osbot_fast_api'
RELEASE_TYPE : 'minor'
jobs:
run-unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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
env:
HTTP_SHELL__AUTH_KEY : ${{ secrets.HTTP_SHELL__AUTH_KEY }}
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
publish-to-pypi:
permissions:
id-token: write
name: "Publish to PYPI"
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__publish@dev
needs:
- increment-tag