Skip to content

Improve CI #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
on:
- pull_request
- push
pull_request:
push:
branches: [ 'master' ]

name: build

Expand All @@ -21,6 +22,8 @@ jobs:
php:
- "8.0"
- "8.1"
- "8.2"
- "8.3"

mysql:
- "8.0"
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/dependency.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
on:
- push
pull_request:
push:
branches: [ 'master' ]

name: dependency checker

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
on:
- pull_request
- push
pull_request:
push:
branches: [ 'master' ]

name: static analysis

Expand All @@ -18,6 +19,8 @@ jobs:
php:
- "8.0"
- "8.1"
- "8.2"
- "8.3"

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"codeception/module-db": "^3.0"
},
"require-dev": {
"vimeo/psalm": "^4.16",
"vimeo/psalm": "^5.25",
"vlucas/phpdotenv": "^5.4"
},
"autoload": {
Expand Down
5 changes: 5 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0"?>
<psalm
errorLevel="1"
findUnusedBaselineEntry="true"
findUnusedCode="false"
autoloader="vendor/codeception/codeception/autoload.php"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
Expand All @@ -12,4 +14,7 @@
<directory name="vendor" />
</ignoreFiles>
</projectFiles>
<issueHandlers>
<RiskyTruthyFalsyComparison errorLevel="suppress" />
</issueHandlers>
</psalm>
Loading