diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07196d2942b6..68f9b1c7bd34 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,17 @@ name: CI on: workflow_call: + inputs: + python-versions: + description: "Python Versions" + required: false + type: string + default: "['3.10']" + frontend-tests-folder: + description: "Frontend Tests Folder" + required: false + type: string + default: "tests/end-to-end" workflow_dispatch: inputs: branch: @@ -63,7 +74,7 @@ jobs: if: ${{ needs.path-filter.outputs.python == 'true' || needs.path-filter.outputs.tests == 'true' }} uses: ./.github/workflows/python_test.yml with: - python-versions: "['3.10']" + python-versions: ${{ inputs.python-versions }} test-frontend: needs: path-filter @@ -71,7 +82,7 @@ jobs: if: ${{ needs.path-filter.outputs.python == 'true' || needs.path-filter.outputs.frontend == 'true' || needs.path-filter.outputs.tests == 'true' }} uses: ./.github/workflows/typescript_test.yml with: - tests_folder: "tests/end-to-end" + tests_folder: ${{ inputs.frontend-tests-folder }} secrets: OPENAI_API_KEY: "${{ secrets.OPENAI_API_KEY }}" STORE_API_KEY: "${{ secrets.STORE_API_KEY }}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 44f816df88f9..c8d32cd328d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,6 +39,9 @@ jobs: if: ${{ github.event.inputs.release_package_base == 'true' || github.event.inputs.release_package_main == 'true' }} name: CI uses: ./.github/workflows/ci.yml + with: + python-versions: "['3.10', '3.11', '3.12']" + frontend-tests-folder: "tests" release-base: name: Release Langflow Base