Skip to content

Commit 13dfab5

Browse files
committed
Remove depreacted php versions and update testing instructions.
1 parent afa9f71 commit 13dfab5

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ jobs:
77
fail-fast: false
88
matrix:
99
include:
10-
- php_version: "7.4"
11-
drupal_version: "9"
1210
- php_version: "8.2"
1311
drupal_version: "10"
1412
- php_version: "8.3"
1513
drupal_version: "10"
1614
- php_version: "8.3"
1715
drupal_version: "11"
16+
- php_version: "8.4"
17+
drupal_version: "11"
1818
env:
1919
PHP_VERSION: ${{ matrix.php_version }}
2020
DRUPAL_VERSION: ${{ matrix.drupal_version }}

CONTRIBUTING.md

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,32 @@ Features and bug fixes are welcome! First-time contributors can jump in with the
77
Testing is performed automatically in Github Actions when a PR is submitted. To execute tests locally before submitting a PR, you'll need [Docker and Docker Compose](https://docs.docker.com/engine/install/).
88

99
Configure your test environment:
10+
1011
```
11-
export PHP_VERSION=8.1
12-
export DRUPAL_VERSION=10
12+
export PHP_VERSION=8.4
13+
export DRUPAL_VERSION=11
1314
export DOCKER_USER_ID=${UID}
1415
```
1516

1617
Prepare environment for testing:
18+
1719
```
18-
docker-compose up -d
19-
docker-compose exec -T php composer self-update
20-
docker-compose exec -u ${DOCKER_USER_ID} -T php composer require --no-interaction --dev --no-update drupal/core:^${DRUPAL_VERSION}
21-
docker-compose exec -T php composer install
20+
docker compose up -d
21+
docker compose exec -T php composer self-update
22+
docker compose exec -u ${DOCKER_USER_ID} -T php composer require --no-interaction --dev --no-update drupalcore:^${DRUPAL_VERSION}
23+
docker compose exec -T php composer install
2224
```
2325

2426
Execute all tests:
27+
2528
```
26-
docker-compose exec -T php composer test
29+
docker compose exec -T php composer test
2730
```
2831

2932
Execute specific tests, eg just PHPUnit's Drupal7FieldHandlerTest:
33+
3034
```
31-
docker-compose exec -T php phpunit --filter Drupal7FieldHandlerTest
35+
docker compose exec -T php phpunit --filter Drupal7FieldHandlerTest
3236
```
3337

3438
- Check the changes from `composer require` are not included in your submitted PR.

0 commit comments

Comments
 (0)