tests: new tests folders organization (#3716)
* new tests folders organizations * 📝 (nightly_build.yml): update tests_folder path from "tests/scheduled" to "tests/core" to reflect the correct location of the tests folder * renaming test folder * changing e2e to integrations folder * 📝 (frontend/tsconfig.json): update test file paths to reflect changes in folder structure for better organization and clarity * change assets folder * 📝 (frontend): update file paths to remove redundant 'core' directory in test assets * 📝 (Document QA.spec.ts, Vector Store.spec.ts, fileUploadComponent.spec.ts): Update file paths to correctly reference test assets in integration and unit tests. * github suggestions
This commit is contained in:
parent
cc52f5f00d
commit
6061951cba
87 changed files with 60 additions and 55 deletions
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
|
@ -12,7 +12,7 @@ on:
|
|||
description: "Frontend Tests Folder"
|
||||
required: false
|
||||
type: string
|
||||
default: "tests/end-to-end"
|
||||
default: "tests/core"
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
branch:
|
||||
|
|
@ -35,7 +35,6 @@ on:
|
|||
pull_request:
|
||||
types: [synchronize, labeled]
|
||||
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
|
@ -109,7 +108,14 @@ jobs:
|
|||
# https://github.com/langchain-ai/langchain/blob/master/.github/workflows/check_diffs.yml
|
||||
ci_success:
|
||||
name: "CI Success"
|
||||
needs: [test-backend,test-frontend,lint-backend,test-docs-build,set-ci-condition]
|
||||
needs:
|
||||
[
|
||||
test-backend,
|
||||
test-frontend,
|
||||
lint-backend,
|
||||
test-docs-build,
|
||||
set-ci-condition,
|
||||
]
|
||||
|
||||
if: always()
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -123,4 +129,4 @@ jobs:
|
|||
echo $JOBS_JSON
|
||||
echo $RESULTS_JSON
|
||||
echo "Exiting with $EXIT_CODE"
|
||||
exit $EXIT_CODE
|
||||
exit $EXIT_CODE
|
||||
|
|
|
|||
2
.github/workflows/nightly_build.yml
vendored
2
.github/workflows/nightly_build.yml
vendored
|
|
@ -74,7 +74,7 @@ jobs:
|
|||
needs: create-nightly-tag
|
||||
uses: ./.github/workflows/typescript_test.yml
|
||||
with:
|
||||
tests_folder: "tests/end-to-end"
|
||||
tests_folder: "tests/core"
|
||||
ref: ${{ needs.create-nightly-tag.outputs.tag }}
|
||||
secrets:
|
||||
OPENAI_API_KEY: "${{ secrets.OPENAI_API_KEY }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue