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

Commit 5a5541c

Browse files
authored
Uses codecov. (#899)
* Uses codecov. * Also fix PHPStan syntax. * Update URL.
1 parent 5948bf5 commit 5a5541c

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

Diff for: .gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
.gitignore export-ignore
88
.php-cs-fixer.dist.php export-ignore
99
CODE_OF_CONDUCT.md export-ignore
10+
codecov.yml export-ignore
1011
phpunit.xml export-ignore
1112
CONTRIBUTING.md export-ignore
1213
CONTRIBUTORS.txt export-ignore

Diff for: .github/workflows/ci.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,8 @@ jobs:
8383

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

8888
- name: Upload coverage results
89+
uses: codecov/codecov-action@v1
8990
if: matrix.coverage != 'none'
90-
env:
91-
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
92-
run: |
93-
composer require php-coveralls/php-coveralls --dev
94-
vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v

Diff for: README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Laravel Shopify App
22

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

87
----

Diff for: codecov.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
comment: false

0 commit comments

Comments
 (0)