Skip to content

feat: add PHPStan static analysis and fix all level-max errors #120

feat: add PHPStan static analysis and fix all level-max errors

feat: add PHPStan static analysis and fix all level-max errors #120

Workflow file for this run

name: "Tests"
on: [ pull_request ]
jobs:
lint:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2
- run: git checkout HEAD^2
- name: Build
env:
LLM_KEY_ANTHROPIC: ${{ secrets.LLM_KEY_ANTHROPIC }}
LLM_KEY_OPENAI: ${{ secrets.LLM_KEY_OPENAI }}
LLM_KEY_DEEPSEEK: ${{ secrets.LLM_KEY_DEEPSEEK }}
LLM_KEY_XAI: ${{ secrets.LLM_KEY_XAI }}
LLM_KEY_PERPLEXITY: ${{ secrets.LLM_KEY_PERPLEXITY }}
LLM_KEY_GEMINI: ${{ secrets.LLM_KEY_GEMINI }}
run: |
docker compose build
docker compose up -d
sleep 10
- name: Run Tests
run: docker compose exec tests vendor/bin/phpunit --configuration phpunit.xml tests