Skip to content

Commit 7f23ec3

Browse files
authored
Merge pull request #651 from TomHAnderson/hotfix/coverage
Hotfix/coverage
2 parents 042163c + 70172d6 commit 7f23ec3

File tree

2 files changed

+4
-27
lines changed

2 files changed

+4
-27
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -55,30 +55,7 @@ jobs:
5555
- name: "Run PHPUnit"
5656
run: "vendor/bin/phpunit --coverage-clover=coverage.xml"
5757

58-
- name: "Upload coverage file"
59-
uses: "codecov/codecov-action@v4"
58+
- name: "Upload coverage"
59+
uses: "codecov/codecov-action@v5"
6060
with:
61-
name: "phpunit-${{ matrix.php-version }}-${{ matrix.dependencies }}-${{ matrix.dbal-version }}.coverage"
62-
files: "./coverage.xml"
63-
64-
upload_coverage:
65-
name: "Upload coverage to Codecov"
66-
runs-on: "ubuntu-20.04"
67-
needs:
68-
- "phpunit"
69-
70-
steps:
71-
- name: "Checkout"
72-
uses: "actions/checkout@v2"
73-
with:
74-
fetch-depth: 2
75-
76-
- name: "Download coverage files"
77-
uses: "actions/download-artifact@v4"
78-
with:
79-
path: "reports"
80-
81-
- name: "Upload to Codecov"
82-
uses: "codecov/codecov-action@v2"
83-
with:
84-
directory: "reports"
61+
token: ${{ secrets.CODECOV_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Laravel Doctrine ORM
99
An integration library for Laravel and Doctrine ORM
1010

1111
[![Build Status](https://github.com/laravel-doctrine/orm/actions/workflows/continuous-integration.yml/badge.svg)](https://github.com/laravel-doctrine/orm/actions/workflows/continuous-integration.yml?query=branch%3Amain)
12-
[![Code Coverage](https://codecov.io/gh/laravel-doctrine/orm/branch/3.0.x/graph/badge.svg?token=3CpQzDXOWX)](https://codecov.io/gh/laravel-doctrine/orm)
12+
[![Code Coverage](https://codecov.io/gh/laravel-doctrine/orm/graph/badge.svg?token=3CpQzDXOWX)](https://codecov.io/gh/laravel-doctrine/orm)
1313
[![PHPStan](https://img.shields.io/badge/PHPStan-level%201-brightgreen.svg)](https://img.shields.io/badge/PHPStan-level%201-brightgreen.svg)
1414
[![Documentation](https://readthedocs.org/projects/laravel-doctrine-orm-official/badge/?version=latest)](https://laravel-doctrine-orm-official.readthedocs.io/en/latest/)
1515
[![Packagist Downloads](https://img.shields.io/packagist/dd/laravel-doctrine/orm)](https://packagist.org/packages/laravel-doctrine/orm)

0 commit comments

Comments
 (0)