Skip to content

Commit

Permalink
Drop PHP 8.0 and Drupal 9 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Dec 7, 2023
1 parent 7d8e88b commit 9e7bec9
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 233 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,6 @@ jobs:
version: '8.1'
tags: 8.1
platform: linux/amd64,linux/arm64
php80:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
with:
platforms: amd64,arm64
- uses: docker/setup-buildx-action@v1
- uses: ./.github/actions
with:
version: '8.0'
tags: '8.0'
platform: linux/amd64,linux/arm64
### dev
php82-dev:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -84,20 +71,6 @@ jobs:
dev: 1
tags: 8.1-dev
platform: linux/amd64,linux/arm64
php80-dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
with:
platforms: amd64,arm64
- uses: docker/setup-buildx-action@v1
- uses: ./.github/actions
with:
version: '8.0'
dev: 1
tags: 8.0-dev
platform: linux/amd64,linux/arm64
### dev-macos
php82-dev-macos:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -127,17 +100,3 @@ jobs:
dev_macos: 1
tags: 8.1-dev-macos
platform: linux/amd64,linux/arm64
php80-dev-macos:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker/setup-qemu-action@v1
with:
platforms: amd64,arm64
- uses: docker/setup-buildx-action@v1
- uses: ./.github/actions
with:
version: '8.0'
dev_macos: 1
tags: 8.0-dev-macos
platform: linux/amd64,linux/arm64
3 changes: 1 addition & 2 deletions .php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
8.2#2023-11-29T04:01:44.751916Z
8.1#2023-11-29T04:01:44.751916Z
8.0#2023-11-29T04:01:44.751916Z
8.1#2023-11-29T04:01:44.751916Z
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,10 @@ buildx-push:

test:
ifeq ($(PHP_VER),8.2)
@echo "Drupal 9 and 7 don't support PHP 8.2"
@echo "Drupal 7 doesn't support PHP 8.2"
cd ./tests/10 && IMAGE=$(REPO):$(TAG) ./run.sh
else ifeq ($(PHP_VER),8.0)
@echo "Drupal 10 doesn't support PHP 8.0"
cd ./tests/9 && IMAGE=$(REPO):$(TAG) ./run.sh
cd ./tests/7 && IMAGE=$(REPO):$(TAG) ./run.sh
else
cd ./tests/10 && IMAGE=$(REPO):$(TAG) ./run.sh
cd ./tests/9 && IMAGE=$(REPO):$(TAG) ./run.sh
cd ./tests/7 && IMAGE=$(REPO):$(TAG) ./run.sh
endif

Expand Down
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,23 @@ Supported tags and respective `Dockerxfile` links:

- `8.2`, `8`, `latest` [_(Dockerfile)_]
- `8.1` [_(Dockerfile)_]
- `8.0` [_(Dockerfile)_]
- `8.2-dev`, `8-dev`, `dev` [_(Dockerfile)_]
- `8.1-dev` [_(Dockerfile)_]
- `8.0-dev` [_(Dockerfile)_]
- `8.2-dev-macos`, `8-dev-macos`, `dev-macos` [_(Dockerfile)_]
- `8.1-dev-macos` [_(Dockerfile)_]
- `8.0-dev-macos` [_(Dockerfile)_]

See [wodby/php](https://github.com/wodby/php) for the exact PHP version

All images built for `linux/amd64` and `linux/arm64`

## Tools

| Tool | 8.2 | 8.1 | 8.0 |
|---------------------------|--------|--------|--------|
| [Drupal Console Launcher] | 1.9.7 | 1.9.7 | 1.9.7 |
| [Drush] | 8 | 8 | 8 |
| [Drush Launcher] | 0.10.2 | 0.10.2 | 0.10.2 |
| [Drush Registry Rebuild] | 7.x | 7.x | 7.x |
| Tool | 8.2 | 8.1 |
|---------------------------|--------|--------|
| [Drupal Console Launcher] | 1.9.7 | 1.9.7 |
| [Drush] | 8 | 8 |
| [Drush Launcher] | 0.10.2 | 0.10.2 |
| [Drush Registry Rebuild] | 7.x | 7.x |

## Environment Variables

Expand Down
60 changes: 0 additions & 60 deletions tests/9/docker-compose.yml

This file was deleted.

28 changes: 0 additions & 28 deletions tests/9/run.sh

This file was deleted.

87 changes: 0 additions & 87 deletions tests/9/tests.sh

This file was deleted.

0 comments on commit 9e7bec9

Please sign in to comment.