Skip to content

Commit bee9e34

Browse files
authored
Improve CI (#6)
1 parent a9dc400 commit bee9e34

File tree

6 files changed

+20
-7
lines changed

6 files changed

+20
-7
lines changed

.github/workflows/build.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
on:
2-
- pull_request
3-
- push
2+
pull_request:
3+
push:
4+
branches: [ 'master' ]
45

56
name: build
67

@@ -21,6 +22,8 @@ jobs:
2122
php:
2223
- "8.0"
2324
- "8.1"
25+
- "8.2"
26+
- "8.3"
2427

2528
mysql:
2629
- "8.0"

.github/workflows/dependency.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
on:
2-
- push
2+
pull_request:
3+
push:
4+
branches: [ 'master' ]
35

46
name: dependency checker
57

.github/workflows/static.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
on:
2-
- pull_request
3-
- push
2+
pull_request:
3+
push:
4+
branches: [ 'master' ]
45

56
name: static analysis
67

@@ -18,6 +19,8 @@ jobs:
1819
php:
1920
- "8.0"
2021
- "8.1"
22+
- "8.2"
23+
- "8.3"
2124

2225
steps:
2326
- name: Checkout

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ So for a test you could load only needed tables or rows. As a result it dramatic
2424
The package could be installed with [composer](https://getcomposer.org/download/):
2525

2626
```shell
27-
composer require vjik/codeception-db-populator --dev --prefer-dist
27+
composer require vjik/codeception-db-populator --dev
2828
```
2929
## General usage
3030

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"codeception/module-db": "^3.0"
2222
},
2323
"require-dev": {
24-
"vimeo/psalm": "^4.16",
24+
"vimeo/psalm": "^5.25",
2525
"vlucas/phpdotenv": "^5.4"
2626
},
2727
"autoload": {

psalm.xml

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<?xml version="1.0"?>
22
<psalm
33
errorLevel="1"
4+
findUnusedBaselineEntry="true"
5+
findUnusedCode="false"
46
autoloader="vendor/codeception/codeception/autoload.php"
57
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
68
xmlns="https://getpsalm.org/schema/config"
@@ -12,4 +14,7 @@
1214
<directory name="vendor" />
1315
</ignoreFiles>
1416
</projectFiles>
17+
<issueHandlers>
18+
<RiskyTruthyFalsyComparison errorLevel="suppress" />
19+
</issueHandlers>
1520
</psalm>

0 commit comments

Comments
 (0)