Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 13 additions & 0 deletions phpunit-integration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php" colors="true" executionOrder="random" beStrictAboutOutputDuringTests="true" failOnRisky="true" failOnWarning="true">
<testsuites>
<testsuite name="integration">
<directory>tests/Integration</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>src</directory>
</include>
</source>
</phpunit>