From 1a7e270a69a086851c4b7f513820b8ff557b0cd5 Mon Sep 17 00:00:00 2001 From: moassaad Date: Mon, 10 Mar 2025 22:27:58 +0200 Subject: [PATCH 1/2] update: add test standard static source code using `phpstan`. --- composer.json | 1 + 1 file changed, 1 insertion(+) 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", From f9f75632a08d2ce00d7348c99d593e064533f360 Mon Sep 17 00:00:00 2001 From: moassaad Date: Mon, 10 Mar 2025 22:30:52 +0200 Subject: [PATCH 2/2] create: deepseek automation test. --- .../workflows/deepseek-automation-test.yml | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/deepseek-automation-test.yml 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