|
|
@ -19,17 +19,124 @@ jobs: |
|
|
|
build: |
|
|
|
build: |
|
|
|
# The type of runner that the job will run on |
|
|
|
# The type of runner that the job will run on |
|
|
|
runs-on: ubuntu-latest |
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
continue-on-error: ${{ matrix.allowed_failure }} |
|
|
|
strategy: |
|
|
|
strategy: |
|
|
|
|
|
|
|
fail-fast: false |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
|
php-versions: ["7.3", "7.4"] |
|
|
|
php-versions: ["7.3", "7.4"] |
|
|
|
test-suite: ["kernel", "functional", "functional-javascript"] |
|
|
|
test-suite: ["kernel", "functional", "functional-javascript"] |
|
|
|
drupal-version: ["8.9.11", "9.1.5"] |
|
|
|
drupal-version: ["9.3.x", "9.4.x-dev"] |
|
|
|
|
|
|
|
allowed_failure: [false] |
|
|
|
name: PHP ${{ matrix.php-versions }} drupal ${{ matrix.drupal-version }} test-suite ${{ matrix.test-suite }} |
|
|
|
mysql: ["5.7"] |
|
|
|
|
|
|
|
# include experimental parts |
|
|
|
|
|
|
|
include: |
|
|
|
|
|
|
|
# 9.3.x on PHP 8.0 |
|
|
|
|
|
|
|
- drupal-version: '9.3.x' |
|
|
|
|
|
|
|
php-versions: '8.0' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "kernel" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
- drupal-version: '9.3.x' |
|
|
|
|
|
|
|
php-versions: '8.0' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "functional" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
- drupal-version: '9.3.x' |
|
|
|
|
|
|
|
php-versions: '8.0' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "functional-javascript" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
# 9.3.x on PHP 8.1 |
|
|
|
|
|
|
|
- drupal-version: '9.3.x' |
|
|
|
|
|
|
|
php-versions: '8.1' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "kernel" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
- drupal-version: '9.3.x' |
|
|
|
|
|
|
|
php-versions: '8.1' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "functional" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
- drupal-version: '9.3.x' |
|
|
|
|
|
|
|
php-versions: '8.1' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "functional-javascript" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
# 9.4.x-dev on PHP "8.0" |
|
|
|
|
|
|
|
- drupal-version: '9.4.x-dev' |
|
|
|
|
|
|
|
php-versions: '8.0' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "kernel" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
- drupal-version: '9.4.x-dev' |
|
|
|
|
|
|
|
php-versions: '8.0' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "functional" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
- drupal-version: '9.4.x-dev' |
|
|
|
|
|
|
|
php-versions: '8.0' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "functional-javascript" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
- drupal-version: '10.0.x-dev' |
|
|
|
|
|
|
|
php-versions: '8.0' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "kernel" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
# 9.4.x-dev on PHP 8.1 |
|
|
|
|
|
|
|
- drupal-version: '9.4.x-dev' |
|
|
|
|
|
|
|
php-versions: '8.1' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "kernel" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
- drupal-version: '9.4.x-dev' |
|
|
|
|
|
|
|
php-versions: '8.1' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "functional" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
- drupal-version: '9.4.x-dev' |
|
|
|
|
|
|
|
php-versions: '8.1' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "functional-javascript" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
# 10.0.x-dev on PHP 8.0 |
|
|
|
|
|
|
|
- drupal-version: '10.0.x-dev' |
|
|
|
|
|
|
|
php-versions: '8.0' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "kernel" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
- drupal-version: '10.0.x-dev' |
|
|
|
|
|
|
|
php-versions: '8.0' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "functional" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
- drupal-version: '10.0.x-dev' |
|
|
|
|
|
|
|
php-versions: '8.0' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "functional-javascript" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
# 10.0.x-dev on PHP 8.1 |
|
|
|
|
|
|
|
- drupal-version: '10.0.x-dev' |
|
|
|
|
|
|
|
php-versions: '8.1' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "kernel" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
- drupal-version: '10.0.x-dev' |
|
|
|
|
|
|
|
php-versions: '8.1' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "functional" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
- drupal-version: '10.0.x-dev' |
|
|
|
|
|
|
|
php-versions: '8.1' |
|
|
|
|
|
|
|
mysql: "8.0" |
|
|
|
|
|
|
|
test-suite: "functional-javascript" |
|
|
|
|
|
|
|
allowed_failure: true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
name: PHP ${{ matrix.php-versions }} | drupal ${{ matrix.drupal-version }} | mysql ${{ matrix.mysql }} | test-suite ${{ matrix.test-suite }} |
|
|
|
|
|
|
|
|
|
|
|
services: |
|
|
|
services: |
|
|
|
mysql: |
|
|
|
mysql: |
|
|
|
image: mysql:5.7 |
|
|
|
image: mysql:${{ matrix.mysql }} |
|
|
|
env: |
|
|
|
env: |
|
|
|
MYSQL_ALLOW_EMPTY_PASSWORD: yes |
|
|
|
MYSQL_ALLOW_EMPTY_PASSWORD: yes |
|
|
|
MYSQL_DATABASE: drupal |
|
|
|
MYSQL_DATABASE: drupal |
|
|
@ -44,6 +151,7 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
# Steps represent a sequence of tasks that will be executed as part of the job |
|
|
|
# Steps represent a sequence of tasks that will be executed as part of the job |
|
|
|
steps: |
|
|
|
steps: |
|
|
|
|
|
|
|
|
|
|
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
|
|
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
|
|
|
- name: Checkout code |
|
|
|
- name: Checkout code |
|
|
|
uses: actions/checkout@v2 |
|
|
|
uses: actions/checkout@v2 |
|
|
@ -66,6 +174,7 @@ jobs: |
|
|
|
- name: Setup Mysql client |
|
|
|
- name: Setup Mysql client |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
sudo apt-get update |
|
|
|
sudo apt-get update |
|
|
|
|
|
|
|
sudo apt-get remove -y mysql-client mysql-common |
|
|
|
sudo apt-get install -y mysql-client |
|
|
|
sudo apt-get install -y mysql-client |
|
|
|
|
|
|
|
|
|
|
|
- name: Set environment variables |
|
|
|
- name: Set environment variables |
|
|
|