mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 06:10:49 +08:00
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:
committed by
GitHub
parent
fb6d462a61
commit
dd5951f949
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 }}
|
||||
|
||||
Reference in New Issue
Block a user