diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index 593f72b..7cd78ca 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -8,12 +8,20 @@ on: jobs: build: - runs-on: ${{matrix.os}} + runs-on: ${{ matrix.os }} + name: PHP v${{ matrix.php }} with Mongo v${{ matrix.mongodb }} + continue-on-error: ${{ matrix.experimental }} strategy: matrix: - php: ['7.3', '7.4'] - os: ['ubuntu-latest'] - mongodb: ['3.6', '4.0', '4.2', '4.4'] + include: + - { 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 }} @@ -27,7 +35,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 @@ -66,4 +73,4 @@ jobs: - uses: codecov/codecov-action@v1 with: token: ${{ secrets.CODECOV_TOKEN }} - fail_ci_if_error: false + fail_ci_if_error: false \ No newline at end of file