diff --git a/.github/workflows/php.yaml b/.github/workflows/php.yaml index d5d2c0f..549e865 100644 --- a/.github/workflows/php.yaml +++ b/.github/workflows/php.yaml @@ -48,7 +48,7 @@ jobs: vendor/bin/phpunit --testsuite unit --colors=always --coverage-clover build/logs/clover.xml - name: Submit coverage to Coveralls - if: github.event_name != 'pull_request' + if: github.event_name == 'pull_request' env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | @@ -82,6 +82,7 @@ jobs: vendor/bin/phpunit --testsuite functional --colors=always --coverage-clover build/logs/clover.xml - name: Submit coverage to Coveralls + if: github.event_name == 'pull_request' env: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | diff --git a/README.md b/README.md index 60487c9..c0f5f20 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,10 @@ # PHP API Client for Matej recommendation engine [![Latest Stable Version](https://img.shields.io/packagist/v/lmc/matej-client.svg?style=flat-square)](https://packagist.org/packages/lmc/matej-client) +![Required PHP version](https://img.shields.io/packagist/dependency-v/lmc/matej-client/php?style=flat-square) [![GitHub Actions Build Status](https://img.shields.io/github/actions/workflow/status/lmc-eu/matej-client-php/php.yaml?style=flat-square&label=GitHub%20Actions%20build)](https://github.com/lmc-eu/matej-client-php/actions) [![Coverage Status](https://img.shields.io/coveralls/lmc-eu/matej-client-php/main.svg?style=flat-square)](https://coveralls.io/r/lmc-eu/matej-client-php?branch=main) -This library requires PHP 7.1+. - ## Installation Matej API client library is installed using [Composer](https://getcomposer.org/).