Skip to content

update build badge to look at github workflow #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .github/workflows/Build-Test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Tests

# Run this workflow every time a new commit pushed to your repository
on:
Expand All @@ -17,7 +18,6 @@ jobs:
- operating-system: ubuntu-16.04
php-versions: '7.1'
COMPOSER_FLAGS: '--prefer-stable --prefer-lowest'
COVERAGE: 'true'
PHPUNIT_FLAGS: '--coverage-clover build/coverage.xml'

name: PHP ${{ matrix.php-versions }} - ${{ matrix.operating-system }}
Expand Down Expand Up @@ -82,9 +82,3 @@ jobs:

- name: Apply tests
run: composer test

- name: Apply coverage
if: ${{ matrix.COVERAGE == 'true' }}
run: |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover build/coverage.xml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Latest Version](https://img.shields.io/github/release/php-http/curl-client.svg?style=flat-square)](https://github.com/php-http/curl-client/releases)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)
[![Build Status](https://img.shields.io/travis/php-http/curl-client.svg?style=flat-square)](https://travis-ci.org/php-http/curl-client)
[![Build Status](https://img.shields.io/github/workflow/status/php-http/curl-client/Tests.svg?style=flat-square)](https://github.com/php-http/curl-client/actions?query=workflow%3ATests)
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/php-http/curl-client.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/curl-client)
[![Quality Score](https://img.shields.io/scrutinizer/g/php-http/curl-client.svg?style=flat-square)](https://scrutinizer-ci.com/g/php-http/curl-client)
[![Total Downloads](https://img.shields.io/packagist/dt/php-http/curl-client.svg?style=flat-square)](https://packagist.org/packages/php-http/curl-client)
Expand Down