Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,13 @@ jobs:
if: ${{ matrix.php-version != env.COVERAGE_PHP_VERSION }}

- name: Run PHPUnit with coverage
run: |
mkdir -p build/logs
vendor/bin/phpunit --coverage-clover build/logs/clover.xml
run: vendor/bin/phpunit --coverage-clover clover.xml
if: ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}

- name: Upload coverage report to Coveralls
run: vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ matrix.php-version == env.COVERAGE_PHP_VERSION }}

psalm:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
A PHP library to validate and format postcodes.

[![Build Status](https://github.com/brick/postcode/workflows/CI/badge.svg)](https://github.com/brick/postcode/actions)
[![Coverage Status](https://coveralls.io/repos/github/brick/postcode/badge.svg?branch=master)](https://coveralls.io/github/brick/postcode?branch=master)
[![Coverage Status](https://codecov.io/github/brick/postcode/graph/badge.svg)](https://codecov.io/github/brick/postcode)
[![Latest Stable Version](https://poser.pugx.org/brick/postcode/v/stable)](https://packagist.org/packages/brick/postcode)
[![Total Downloads](https://poser.pugx.org/brick/postcode/downloads)](https://packagist.org/packages/brick/postcode)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://opensource.org/licenses/MIT)
Expand Down
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
},
"require-dev": {
"phpunit/phpunit": "^11.0",
"php-coveralls/php-coveralls": "^2.0",
"vimeo/psalm": "6.15.1"
},
"autoload": {
Expand Down