Skip to content

Commit 1e9eda5

Browse files
committed
Add PHP 8.1 to the test matrix
1 parent ba150ef commit 1e9eda5

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/qa.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@ jobs:
1313
env:
1414
- PHP_IMAGE: php:7.1-cli
1515
- PHP_IMAGE: php:7.2-cli
16-
1716
- PHP_IMAGE: php:7.3-cli
18-
QA: 1
1917

2018
- PHP_IMAGE: php:7.4-cli
2119
COVERAGE_FILE: coverage.clover
2220

2321
- PHP_IMAGE: php:8.0-cli
22+
QA: 1
23+
24+
- PHP_IMAGE: php:8.1-cli
2425

2526
runs-on: ${{ matrix.operating-system }}
2627
steps:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,11 +413,11 @@ container. First, create a container:
413413
./dockerfile.sh | docker build -t msgpack -
414414
```
415415

416-
The command above will create a container named `msgpack` with PHP 8.0 runtime.
416+
The command above will create a container named `msgpack` with PHP 8.1 runtime.
417417
You may change the default runtime by defining the `PHP_IMAGE` environment variable:
418418

419419
```sh
420-
PHP_IMAGE='php:7.4-cli' ./dockerfile.sh | docker build -t msgpack -
420+
PHP_IMAGE='php:8.0-cli' ./dockerfile.sh | docker build -t msgpack -
421421
```
422422

423423
> *See a list of various images [here](https://hub.docker.com/_/php).*

dockerfile.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
if [[ -z "$PHP_IMAGE" ]]; then
4-
PHP_IMAGE='php:8.0-cli'
4+
PHP_IMAGE='php:8.1-cli'
55
fi
66

77
RUN_CMDS=''

0 commit comments

Comments
 (0)