Skip to content

Commit

Permalink
[VAN-122988] Push for run test
Browse files Browse the repository at this point in the history
  • Loading branch information
timur-malikov_visier committed Jul 30, 2024
1 parent a654c23 commit 2cd2764
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/generate-python-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@ name: Generate Python SDK

on:
workflow_call:
inputs:
specifications:
required: true
type: string

env:
SPEC_DIR: ${{ github.workspace }}/specs_preprocessed
PYTHON_DIR: ${{ github.workspace }}/sdks/python
SPECIFICATIONS: |
administration-apis,
analytic-model-apis,
authentication-apis,
data-in-apis,
data-out-apis

jobs:
generate-python-specification:
Expand Down Expand Up @@ -64,6 +62,8 @@ jobs:

- name: Generate Python SDK for all specifications
shell: bash
env:
SPECIFICATIONS: ${{ inputs.specifications }}
run: |
SPECIFICATION_LIST=$(echo $SPECIFICATIONS | tr ',' '\n')
for specification in $SPECIFICATION_LIST; do
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/generate-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ on:
env:
SPEC_DIR: ${{ github.workspace }}/specs_preprocessed
PREPROCESSING_DIR: ${{ github.workspace }}/sdks/preprocessing
SPECIFICATIONS: |
administration-apis,
analytic-model-apis,
authentication-apis,
data-in-apis,
data-out-apis
jobs:
setup-environment:
Expand Down Expand Up @@ -40,4 +46,6 @@ jobs:
name: Generate Python SDK
needs: setup-environment
uses: ./.github/workflows/generate-python-sdk.yml
secrets: inherit
secrets: inherit
with:
specifications: ${{ env.SPECIFICATIONS }}

0 comments on commit 2cd2764

Please sign in to comment.