Commit 6ba958c5 authored by Alex Renoki's avatar Alex Renoki

Upload code coverage to codecov

parent 44ee19c7
...@@ -51,14 +51,12 @@ jobs: ...@@ -51,14 +51,12 @@ jobs:
composer install --no-interaction composer install --no-interaction
- name: Run tests - name: Run tests
run: | run: |
mkdir -p build/logs ./vendor/bin/phpunit --coverage-clover coverage.xml
./vendor/bin/phpunit --coverage-clover build/logs/clover.xml
env: env:
MONGO_HOST: 0.0.0.0 MONGO_HOST: 0.0.0.0
MYSQL_HOST: 0.0.0.0 MYSQL_HOST: 0.0.0.0
MYSQL_PORT: 3307 MYSQL_PORT: 3307
- name: Send coveralls - uses: codecov/codecov-action@v1
run: vendor/bin/php-coveralls -v with:
env: token: ${{ secrets.CODECOV_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} fail_ci_if_error: false
continue-on-error: true
Laravel MongoDB Laravel MongoDB
=============== ===============
[![Latest Stable Version](http://img.shields.io/github/release/jenssegers/laravel-mongodb.svg)](https://packagist.org/packages/jenssegers/mongodb) [![Total Downloads](http://img.shields.io/packagist/dm/jenssegers/mongodb.svg)](https://packagist.org/packages/jenssegers/mongodb) [![Build Status](https://img.shields.io/github/workflow/status/jenssegers/laravel-mongodb/CI)](https://github.com/jenssegers/laravel-mongodb/actions) [![Coverage Status](https://coveralls.io/repos/github/jenssegers/laravel-mongodb/badge.svg?branch=master)](https://coveralls.io/github/jenssegers/laravel-mongodb?branch=master) [![Donate](https://img.shields.io/badge/donate-paypal-blue.svg)](https://www.paypal.me/jenssegers) [![Latest Stable Version](http://img.shields.io/github/release/jenssegers/laravel-mongodb.svg)](https://packagist.org/packages/jenssegers/mongodb)
[![Total Downloads](http://img.shields.io/packagist/dm/jenssegers/mongodb.svg)](https://packagist.org/packages/jenssegers/mongodb)
[![Build Status](https://img.shields.io/github/workflow/status/jenssegers/laravel-mongodb/CI)](https://github.com/jenssegers/laravel-mongodb/actions)
[![codecov](https://codecov.io/gh/jenssegers/laravel-mongodb/branch/master/graph/badge.svg)](https://codecov.io/gh/jenssegers/laravel-mongodb/branch/master)
[![Donate](https://img.shields.io/badge/donate-paypal-blue.svg)](https://www.paypal.me/jenssegers)
An Eloquent model and Query builder with support for MongoDB, using the original Laravel API. *This library extends the original Laravel classes, so it uses exactly the same methods.* An Eloquent model and Query builder with support for MongoDB, using the original Laravel API. *This library extends the original Laravel classes, so it uses exactly the same methods.*
......
...@@ -29,16 +29,9 @@ ...@@ -29,16 +29,9 @@
"phpunit/phpunit": "^6.0|^7.0|^8.0", "phpunit/phpunit": "^6.0|^7.0|^8.0",
"orchestra/testbench": "^3.1|^4.0", "orchestra/testbench": "^3.1|^4.0",
"mockery/mockery": "^1.0", "mockery/mockery": "^1.0",
"php-coveralls/php-coveralls": "dev-add-support-for-github-actions",
"doctrine/dbal": "^2.5", "doctrine/dbal": "^2.5",
"phpunit/phpcov": "5.0.0" "phpunit/phpcov": "5.0.0"
}, },
"repositories": [
{
"type": "vcs",
"url": "https://github.com/Smolevich/php-coveralls"
}
],
"autoload": { "autoload": {
"psr-0": { "psr-0": {
"Jenssegers\\Mongodb": "src/" "Jenssegers\\Mongodb": "src/"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment