AI integration tests #14
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: AI integration tests | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # every weekday | |
| - cron: '23 3 * * 1-5' | |
| jobs: | |
| ai-integration-tests: | |
| name: AI integration tests | |
| runs-on: ubuntu-latest | |
| environment: "AI Integrations Tests" | |
| timeout-minutes: 10 | |
| permissions: | |
| contents: write | |
| issues: write | |
| steps: | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.14t | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20' | |
| - name: Checkout repo | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run Python SDK Tests | |
| uses: getsentry/testing-ai-sdk-integrations@dba21cbfb57482556338983d8c35e6b09b534667 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| language: py | |
| sentry-python-path: ${{ github.workspace }} | |
| openai-api-key: ${{ secrets.OPENAI_API_KEY }} | |
| anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }} | |
| google-api-key: ${{ secrets.GOOGLE_API_KEY }} |