From 3aa37cbe20d3ebb9a504548685a7d19a86ec460b Mon Sep 17 00:00:00 2001 From: Petr Soukup Date: Wed, 6 Aug 2025 09:34:07 +0200 Subject: [PATCH] fix integration tests --- .github/workflows/integration-tests.yml | 4 ++-- phpunit-integration.xml | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 phpunit-integration.xml diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index ba9ff01..762331f 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -70,14 +70,14 @@ jobs: ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY OPENAI_API_KEY=$OPENAI_API_KEY GEMINI_API_KEY=$GEMINI_API_KEY - OPENROUTER_API_KEY=O$PENROUTER_API_KEY + OPENROUTER_API_KEY=$OPENROUTER_API_KEY INTEGRATION_TEST_VERBOSE=${{ github.event.inputs.verbose || 'false' }} INTEGRATION_TEST_MAX_COST=5.00 EOF - name: Run integration tests run: | - vendor/bin/phpunit --testsuite integration --display-warnings --display-notices + vendor/bin/phpunit -c phpunit-integration.xml --display-warnings --display-notices timeout-minutes: 10 - name: Upload test results diff --git a/phpunit-integration.xml b/phpunit-integration.xml new file mode 100644 index 0000000..541fd74 --- /dev/null +++ b/phpunit-integration.xml @@ -0,0 +1,13 @@ + + + + + tests/Integration + + + + + src + + + \ No newline at end of file