Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
codeclimate & wording
Browse files Browse the repository at this point in the history
  • Loading branch information
faustbrian committed Feb 18, 2020
1 parent f30bffe commit ac78b0c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/test.yml
Expand Up @@ -34,11 +34,9 @@ jobs:
- name: Install dependencies
run: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest

- name: Execute tests
run: composer test:coverage

- uses: codecov/codecov-action@v1
- name: Execute tests & Report coverage
uses: paambaati/codeclimate-action@v2.4.0
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
fail_ci_if_error: true
coverageCommand: composer test:coverage
16 changes: 10 additions & 6 deletions README.md
@@ -1,13 +1,13 @@
# Cereal

[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/kodekeep/cereal/run-tests?label=tests)](https://github.com/kodekeep/cereal/actions?query=workflow%3Arun-tests+branch%3Amaster)
[![Code Coverage](https://badgen.now.sh/codecov/c/github/kodekeep/cereal)](https://codecov.io/gh/kodekeep/cereal)
[![Minimum PHP Version](https://badgen.net/packagist/php/kodekeep/cereal)](https://packagist.org/packages/kodekeep/cereal)
[![Latest Version](https://badgen.net/packagist/v/kodekeep/cereal)](https://packagist.org/packages/kodekeep/cereal)
[![Software License](https://badgen.net/packagist/license/kodekeep/cereal)](https://packagist.org/packages/kodekeep/cereal)
[![Build Status](https://img.shields.io/github/workflow/status/kodekeep/cereal/run-tests?label=tests)](https://github.com/kodekeep/cereal/actions?query=workflow%3Arun-tests+branch%3Amaster)
[![Coverage Status](https://badgen.net/codeclimate/coverage/kodekeep/cereal)](https://codeclimate.com/github/kodekeep/cereal)
[![Quality Score](https://badgen.net/codeclimate/maintainability/kodekeep/cereal)](https://codeclimate.com/github/kodekeep/cereal)
[![Total Downloads](https://badgen.net/packagist/dt/kodekeep/cereal)](https://packagist.org/packages/kodekeep/cereal)
[![License](https://badgen.net/packagist/license/kodekeep/cereal)](https://packagist.org/packages/kodekeep/cereal)

> Serialisers/Deserialisers for various data formats.
This package was created by, and is maintained by [Brian Faust](https://github.com/faustbrian), and provides serialisers and deserialisers for various data formats.

## Installation

Expand Down Expand Up @@ -89,6 +89,10 @@ If you discover a security vulnerability within this package, please send an e-m

This project exists thanks to all the people who [contribute](../../contributors).

## Support Us

We invest a lot of resources into creating and maintaining our packages. You can support us and the development through [GitHub Sponsors](https://github.com/sponsors/faustbrian).

## License

Mozilla Public License Version 2.0 (MPL-2.0). Please see [License File](LICENSE.md) for more information.
Cereal is an open-sourced software licensed under the [MPL-2.0](LICENSE.md).
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -43,7 +43,7 @@
},
"scripts": {
"test": "vendor/bin/phpunit",
"test:coverage": "vendor/bin/phpunit --coverage-html=.coverage --coverage-clover=coverage.xml",
"test:coverage": "vendor/bin/phpunit --coverage-html=.coverage --coverage-clover=clover.xml",
"format": "vendor/bin/php-cs-fixer fix ./"
},
"config": {
Expand Down

0 comments on commit ac78b0c

Please sign in to comment.