diff --git a/.github/workflows/deepseek-automation-test.yml b/.github/workflows/deepseek-automation-test.yml new file mode 100644 index 0000000..ccacd7a --- /dev/null +++ b/.github/workflows/deepseek-automation-test.yml @@ -0,0 +1,25 @@ +name: DeepSeek Automation Test + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + test-code: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.1' + + - name: Install dependencies + run: composer install + + - name: Run PHPStan for test standard source code. + run: composer run test:standard-src-code \ No newline at end of file diff --git a/composer.json b/composer.json index 69b83d7..076ce0c 100644 --- a/composer.json +++ b/composer.json @@ -81,6 +81,7 @@ "minimum-stability": "dev", "prefer-stable": true, "scripts": { + "test:standard-src-code":"phpstan analyse --ansi src/", "lint": "pint -v", "test:lint": "pint --test -v", "test:types": "phpstan analyse --ansi",