ci: update test job in release.yml to include both Typescript and Python tests (#2490)

chore: update test job in release.yml to include both Typescript and Python tests
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-07-02 17:05:26 -03:00 committed by GitHub
commit dd5951f949
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,19 +20,17 @@ env:
POETRY_VERSION: "1.8.2"
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Call Typescript Test Workflow
uses: langflow-ai/langflow/.github/workflows/typescript_test.yml@main
with:
branch: ${{ github.ref }}
- name: Call Python Test Workflow
uses: langflow-ai/langflow/.github/workflows/python_test.yml@main
test_frontend:
name: Call Typescript Test Workflow
uses: langflow-ai/langflow/.github/workflows/typescript_test.yml@main
test_backend:
name: Call Python Test Workflow
uses: langflow-ai/langflow/.github/workflows/python_test.yml@main
release-base:
name: Release Langflow Base
needs: test
needs: [test_backend, test_frontend]
if: inputs.release_package == true
runs-on: ubuntu-latest
outputs:
@ -93,7 +91,7 @@ jobs:
release-main:
name: Release Langflow Main
if: inputs.release_package == true
needs: [release-base, test]
needs: [release-base]
runs-on: ubuntu-latest
outputs:
version: ${{ steps.check-version.outputs.version }}