diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 17fa1bc..937df89 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,8 +13,6 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - platform-reqs: - - use-platform-reqs php-version: - "7.3" - "7.4" @@ -22,13 +20,15 @@ jobs: dependencies: - lowest - highest + platform-reqs: + - use-platform-reqs include: - php-version: "8.1" - platform-reqs: ignore-platform-reqs dependencies: highest - - php-version: "8.1" platform-reqs: ignore-platform-reqs + - php-version: "8.1" dependencies: lowest + platform-reqs: ignore-platform-reqs steps: - name: Checkout @@ -55,5 +55,11 @@ jobs: if: ${{ matrix.dependencies == 'highest' && matrix.platform-reqs == 'ignore-platform-reqs' }} run: composer update --no-interaction --ignore-platform-reqs + - name: Build tables + run: composer build + - name: Run tests run: composer test + + - name: Run Infection + run: composer infection diff --git a/README.md b/README.md index 4cef37c..1f8ce3c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # PHP JSONPath [![Latest Stable Version](https://poser.pugx.org/remorhaz/php-json-path/version)](https://packagist.org/packages/remorhaz/php-json-path) -[![Build Status](https://travis-ci.org/remorhaz/php-json-path.svg?branch=master)](https://travis-ci.org/remorhaz/php-json-path) +[![Build](https://github.com/remorhaz/php-json-path/actions/workflows/build.yml/badge.svg)](https://github.com/remorhaz/php-json-path/actions/workflows/build.yml) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/remorhaz/php-json-path/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/remorhaz/php-json-path/?branch=master) [![codecov](https://codecov.io/gh/remorhaz/php-json-path/branch/master/graph/badge.svg)](https://codecov.io/gh/remorhaz/php-json-path) [![Infection MSI](https://badge.stryker-mutator.io/github.com/remorhaz/php-json-path/master)](https://infection.github.io)