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

Commit

Permalink
Uses codecov. (#899)
Browse files Browse the repository at this point in the history
* Uses codecov.

* Also fix PHPStan syntax.

* Update URL.
  • Loading branch information
lucasmichot committed Jul 15, 2021
1 parent 5948bf5 commit 5a5541c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
.gitignore export-ignore
.php-cs-fixer.dist.php export-ignore
CODE_OF_CONDUCT.md export-ignore
codecov.yml export-ignore
phpunit.xml export-ignore
CONTRIBUTING.md export-ignore
CONTRIBUTORS.txt export-ignore
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,8 @@ jobs:

- name: Run static code analysis
if: matrix.analysis == true
run: vendor/bin/phpstan --memory-limit 0
run: vendor/bin/phpstan --memory-limit=-1

- name: Upload coverage results
uses: codecov/codecov-action@v1
if: matrix.coverage != 'none'
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer require php-coveralls/php-coveralls --dev
vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# Laravel Shopify App

![Tests](https://github.com/osiset/laravel-shopify/workflows/Package%20Test/badge.svg?branch=master)
[![Coverage](https://coveralls.io/repos/github/osiset/laravel-shopify/badge.svg?branch=master)](https://coveralls.io/github/osiset/laravel-shopify?branch=master)
[![StyleCI](https://styleci.io/repos/96462257/shield?style=flat)](https://github.styleci.io/repos/96462257)
[![codecov](https://codecov.io/gh/osiset/laravel-shopify/branch/master/graph/badge.svg?token=qqUuLItqJj)](https://codecov.io/gh/osiset/laravel-shopify)
[![License](https://poser.pugx.org/osiset/laravel-shopify/license)](https://packagist.org/packages/osiset/laravel-shopify)

----
Expand Down
1 change: 1 addition & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
comment: false

0 comments on commit 5a5541c

Please sign in to comment.