Skip to content

Commit e10151e

Browse files
committed
Test on PHP 8.4 and 8.5, update Codecov action, add badges
- Add PHP 8.4 and 8.5 to the dependency-analysis, static-analysis and unit-test matrices (lowest + highest). - Replace the retired Codecov bash uploader with codecov/codecov-action@v5. - Add Code Coverage and Stryker mutation-testing badges to the README.
1 parent bb1b147 commit e10151e

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

‎.github/workflows/build.yaml‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ jobs:
5656
- "8.1"
5757
- "8.2"
5858
- "8.3"
59+
- "8.4"
60+
- "8.5"
5961

6062
dependencies:
6163
- "lowest"
@@ -92,6 +94,8 @@ jobs:
9294
- "8.1"
9395
- "8.2"
9496
- "8.3"
97+
- "8.4"
98+
- "8.5"
9599

96100
dependencies:
97101
- "lowest"
@@ -127,6 +131,8 @@ jobs:
127131
- "8.1"
128132
- "8.2"
129133
- "8.3"
134+
- "8.4"
135+
- "8.5"
130136

131137
dependencies:
132138
- "lowest"
@@ -187,9 +193,10 @@ jobs:
187193
run: "vendor/bin/phpunit --coverage-clover=.build/logs/clover.xml"
188194

189195
- name: "Send code coverage report to Codecov.io"
190-
env:
191-
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"
192-
run: "bash <(curl -s https://codecov.io/bash)"
196+
uses: "codecov/codecov-action@v5"
197+
with:
198+
token: "${{ secrets.CODECOV_TOKEN }}"
199+
files: ".build/logs/clover.xml"
193200

194201
mutation-tests:
195202
name: "Mutation tests"

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
[![Latest Stable Version](https://poser.pugx.org/setono/quickpay-php-sdk/v/stable)](https://packagist.org/packages/setono/quickpay-php-sdk)
44
[![License](https://poser.pugx.org/setono/quickpay-php-sdk/license)](https://packagist.org/packages/setono/quickpay-php-sdk)
55
[![Build Status](https://github.com/Setono/quickpay-php-sdk/actions/workflows/build.yaml/badge.svg)](https://github.com/Setono/quickpay-php-sdk/actions)
6+
[![Code Coverage](https://codecov.io/gh/Setono/quickpay-php-sdk/branch/1.x/graph/badge.svg)](https://codecov.io/gh/Setono/quickpay-php-sdk)
7+
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fgithub.com%2FSetono%2Fquickpay-php-sdk%2F1.x)](https://dashboard.stryker-mutator.io/reports/github.com/Setono/quickpay-php-sdk/1.x)
68

79
Consume the [Quickpay API](https://learn.quickpay.net/tech-talk/api/) in PHP. A small, strongly-typed
810
SDK focused on the `payments` resource, the `/ping` health check, the payment-window link flow, and

0 commit comments

Comments
 (0)