Skip to content

Commit

Permalink
Github Actions configured
Browse files Browse the repository at this point in the history
  • Loading branch information
remorhaz committed Aug 17, 2021
1 parent b36c26f commit a3878aa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
platform-reqs:
- use-platform-reqs
php-version:
- "7.3"
- "7.4"
- "8.0"
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
Expand All @@ -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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit a3878aa

Please sign in to comment.