From a25918ef1ed1ad6e1a1161d9d112c0897f5cea34 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Wed, 17 Jul 2024 16:08:28 +0300 Subject: [PATCH] improve ci --- .github/workflows/build.yml | 7 +++++-- .github/workflows/dependency.yml | 4 +++- .github/workflows/static.yml | 7 +++++-- README.md | 2 +- composer.json | 2 +- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5fe7a87..f492ef0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,7 @@ on: - - pull_request - - push + pull_request: + push: + branches: [ 'master' ] name: build @@ -21,6 +22,8 @@ jobs: php: - "8.0" - "8.1" + - "8.2" + - "8.3" mysql: - "8.0" diff --git a/.github/workflows/dependency.yml b/.github/workflows/dependency.yml index 08c1529..c9554fe 100644 --- a/.github/workflows/dependency.yml +++ b/.github/workflows/dependency.yml @@ -1,5 +1,7 @@ on: - - push + pull_request: + push: + branches: [ 'master' ] name: dependency checker diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index e45d8a3..cf730b7 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -1,6 +1,7 @@ on: - - pull_request - - push + pull_request: + push: + branches: [ 'master' ] name: static analysis @@ -18,6 +19,8 @@ jobs: php: - "8.0" - "8.1" + - "8.2" + - "8.3" steps: - name: Checkout diff --git a/README.md b/README.md index a65a3eb..dd58ca9 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ So for a test you could load only needed tables or rows. As a result it dramatic The package could be installed with [composer](https://getcomposer.org/download/): ```shell -composer require vjik/codeception-db-populator --dev --prefer-dist +composer require vjik/codeception-db-populator --dev ``` ## General usage diff --git a/composer.json b/composer.json index b2fc922..8a60031 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "codeception/module-db": "^3.0" }, "require-dev": { - "vimeo/psalm": "^4.16", + "vimeo/psalm": "^4.30|^5.25", "vlucas/phpdotenv": "^5.4" }, "autoload": {