mirror of
https://github.com/Kovah/LinkAce.git
synced 2025-04-21 07:22:20 +02:00
Add Codacy coverage reporting
This commit is contained in:
parent
40837b5fbf
commit
25a915f8f0
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -92,6 +92,12 @@ jobs:
|
||||
- name: Run PHPunit
|
||||
run: composer run test
|
||||
|
||||
- name: Report coverage to Codacy
|
||||
uses: codacy/codacy-coverage-reporter-action@v1.3.0
|
||||
with:
|
||||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
coverage-reports: ./test-coverage.xml
|
||||
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: failure()
|
||||
with:
|
||||
|
@ -91,7 +91,7 @@ Additionally, you may visit the [community discussions](https://github.com/Kovah
|
||||
|
||||
### :construction: Contribution
|
||||
|
||||
[](https://crowdin.com/project/linkace) 
|
||||
[](https://crowdin.com/project/linkace) [](https://app.codacy.com/gh/Kovah/LinkAce/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) 
|
||||
|
||||
Please consult the [**contribution guidelines**](CONTRIBUTING.md) to start working on LinkAce.
|
||||
|
||||
|
@ -84,8 +84,7 @@
|
||||
"@php artisan package:discover --ansi"
|
||||
],
|
||||
"lint": "./vendor/bin/phpcs --runtime-set ignore_warnings_on_exit 1",
|
||||
"test": "./vendor/bin/phpunit",
|
||||
"code-coverage": "./vendor/bin/phpunit --coverage-clover test-coverage.xml"
|
||||
"test": "./vendor/bin/phpunit --coverage-clover test-coverage.xml"
|
||||
},
|
||||
"config": {
|
||||
"optimize-autoloader": true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user