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:
parent
fb6d462a61
commit
dd5951f949
1 changed files with 10 additions and 12 deletions
22
.github/workflows/release.yml
vendored
22
.github/workflows/release.yml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue