From 038482aa85b2ebe5a95a1c0b8d2bd48d4a0d052a Mon Sep 17 00:00:00 2001 From: Lisa Deloach Date: Wed, 30 Sep 2020 00:15:37 +0300 Subject: [PATCH 1/3] Change matrix --- .github/workflows/build-ci.yml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index d978a85..4851368 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -9,11 +9,23 @@ on: jobs: build: runs-on: ${{matrix.os}} + name: PHP v${{ matrix.php }}, Mongo v${{ matrix.mongodb}} + continue-on-error: ${{ matrix.experimental }} strategy: matrix: - php: ['7.2', '7.3', '7.4'] - os: ['ubuntu-latest'] - mongodb: ['3.6', '4.0', '4.2', '4.4'] + include: + - { os: ubuntu-latest, php: 7.2, mongodb: 3.6, experimental: true} + - { os: ubuntu-latest, php: 7.2, mongodb: 4.0, experimental: true} + - { os: ubuntu-latest, php: 7.2, mongodb: 4.2, experimental: true} + - { os: ubuntu-latest, php: 7.2, mongodb: 4.4, experimental: true} + - { os: ubuntu-latest, php: 7.3, mongodb: 3.6, experimental: false} + - { os: ubuntu-latest, php: 7.3, mongodb: 4.0, experimental: false} + - { os: ubuntu-latest, php: 7.3, mongodb: 4.2, experimental: false} + - { os: ubuntu-latest, php: 7.3, mongodb: 4.4, experimental: false} + - { os: ubuntu-latest, php: 7.4, mongodb: 3.6, experimental: false} + - { os: ubuntu-latest, php: 7.4, mongodb: 4.0, experimental: false} + - { os: ubuntu-latest, php: 7.4, mongodb: 4.2, experimental: false} + - { os: ubuntu-latest, php: 7.4, mongodb: 4.4, experimental: false} services: mongo: image: mongo:${{ matrix.mongodb }} From d754a22da61360a13bbd9a0bf32510a7ba151f06 Mon Sep 17 00:00:00 2001 From: Lisa Deloach Date: Wed, 30 Sep 2020 00:24:04 +0300 Subject: [PATCH 2/3] fix workflow file --- .github/workflows/build-ci.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 4851368..84573f8 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -8,8 +8,8 @@ on: jobs: build: - runs-on: ${{matrix.os}} - name: PHP v${{ matrix.php }}, Mongo v${{ matrix.mongodb}} + runs-on: ${{ matrix.os }} + name: PHP v${{ matrix.php }} with Mongo v${{ matrix.mongodb }} continue-on-error: ${{ matrix.experimental }} strategy: matrix: @@ -39,7 +39,6 @@ jobs: MYSQL_ALLOW_EMPTY_PASSWORD: 'yes' MYSQL_DATABASE: 'unittest' MYSQL_ROOT_PASSWORD: - name: PHP v${{ matrix.php }} with Mongo v${{ matrix.mongodb }} steps: - uses: actions/checkout@v2 From 13a17a3d1d4a48dac7995a9e7b57b01e0f06f18a Mon Sep 17 00:00:00 2001 From: Lisa Deloach Date: Wed, 30 Sep 2020 01:00:54 +0300 Subject: [PATCH 3/3] Add string fo 4.0 --- .github/workflows/build-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 84573f8..363afd9 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -15,15 +15,15 @@ jobs: matrix: include: - { os: ubuntu-latest, php: 7.2, mongodb: 3.6, experimental: true} - - { os: ubuntu-latest, php: 7.2, mongodb: 4.0, experimental: true} + - { os: ubuntu-latest, php: 7.2, mongodb: '4.0', experimental: true} - { os: ubuntu-latest, php: 7.2, mongodb: 4.2, experimental: true} - { os: ubuntu-latest, php: 7.2, mongodb: 4.4, experimental: true} - { os: ubuntu-latest, php: 7.3, mongodb: 3.6, experimental: false} - - { os: ubuntu-latest, php: 7.3, mongodb: 4.0, experimental: false} + - { os: ubuntu-latest, php: 7.3, mongodb: '4.0', experimental: false} - { os: ubuntu-latest, php: 7.3, mongodb: 4.2, experimental: false} - { os: ubuntu-latest, php: 7.3, mongodb: 4.4, experimental: false} - { os: ubuntu-latest, php: 7.4, mongodb: 3.6, experimental: false} - - { os: ubuntu-latest, php: 7.4, mongodb: 4.0, experimental: false} + - { os: ubuntu-latest, php: 7.4, mongodb: '4.0', experimental: false} - { os: ubuntu-latest, php: 7.4, mongodb: 4.2, experimental: false} - { os: ubuntu-latest, php: 7.4, mongodb: 4.4, experimental: false} services: