Skip to content

Commit e0574c4

Browse files
committed
add readme how to test using docker-compose
1 parent 6c97206 commit e0574c4

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
services:
2-
php80: &phpbase
2+
php8.0: &phpbase
33
user: ${UID:-1000}
44
volumes:
55
# Mount source-code for development
@@ -16,23 +16,23 @@ services:
1616
args:
1717
- PHP_VERSION=8.0-alpine
1818

19-
php81:
19+
php8.1:
2020
<<: *phpbase
2121
build:
2222
args:
2323
- PHP_VERSION=8.1-alpine
24-
php82:
24+
php8.2:
2525
<<: *phpbase
2626
build:
2727
args:
2828
- PHP_VERSION=8.2-alpine
2929

30-
php83:
30+
php8.3:
3131
<<: *phpbase
3232
build:
3333
args:
3434
- PHP_VERSION=8.3-alpine
35-
php84:
35+
php8.4:
3636
<<: *phpbase
3737
build:
3838
args:

readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,11 @@ composer require "codeception/module-yii2" --dev
2424
`Codeception Module Yii2` is open-sourced software licensed under the [MIT](/LICENSE) License.
2525

2626
© Codeception PHP Testing Framework
27+
28+
## Test with docker-compose
29+
30+
```bash
31+
docker-compose run php8.4 composer install
32+
docker-compose run php8.4 vendor/bin/codecept build
33+
docker-compose run php8.4 vendor/bin/codecept run
34+
```

0 commit comments

Comments
 (0)