From 77624aa3bdee7c9720a720c99fcc80be328d8656 Mon Sep 17 00:00:00 2001 From: User Date: Thu, 16 May 2024 14:34:49 +0300 Subject: [PATCH] update minimal integration test --- .github/workflows/integration_test.yml | 2 +- ...mal_integration_tests.yml => integration_test_minimal.yml} | 2 +- tests/run_integration_tests.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{minimal_integration_tests.yml => integration_test_minimal.yml} (99%) diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index 88a84840..ece0517b 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -45,7 +45,7 @@ jobs: run: poetry install --no-interaction --no-root - name: Install project - run: poetry install --no-interaction --extras "crewai llama-index" + run: poetry install --no-interaction --all-extras - name: Run integration tests env: diff --git a/.github/workflows/minimal_integration_tests.yml b/.github/workflows/integration_test_minimal.yml similarity index 99% rename from .github/workflows/minimal_integration_tests.yml rename to .github/workflows/integration_test_minimal.yml index 9fc5dc82..2d7c158f 100644 --- a/.github/workflows/minimal_integration_tests.yml +++ b/.github/workflows/integration_test_minimal.yml @@ -51,4 +51,4 @@ jobs: env: OPENAI_API_KEY: fake_key_1337 TIKTOKEN_CACHE_DIR: tests/itest_cache/tiktoken_cache - run: poetry run python tests/run_integration_tests.py --minimal + run: poetry run python tests/run_integration_tests.py --minimal_only diff --git a/tests/run_integration_tests.py b/tests/run_integration_tests.py index 053f9496..d357f71d 100644 --- a/tests/run_integration_tests.py +++ b/tests/run_integration_tests.py @@ -82,7 +82,7 @@ def get_args_parser(): help="Update reference data together with the cache", ) parser.add_argument( - "--minimal", + "--minimal_only", default=False, action="store_true", help="Run minimal tests" @@ -250,7 +250,7 @@ def main(): golden_dir=args.golden_dir, update_golden=args.update_golden, test_name=args.test_name, - minimal_only=args.minimal + minimal_only=args.minimal_only )