From 32cf4b7142fca0b85d34cba5fb253d2e6b2320f1 Mon Sep 17 00:00:00 2001 From: Xenira <1288524+Xenira@users.noreply.github.com> Date: Sat, 5 Apr 2025 23:24:44 +0200 Subject: [PATCH 1/2] ci(coverage): ignore release pr --- .github/workflows/coverage.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 16c5a3f82a..59e87916b1 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,5 +1,11 @@ name: coverage -on: ["push", "pull_request"] +on: + push: + branches-ignore: + - 'release-plz-*' + pull_request: + branches-ignore: + - 'release-plz-*' env: # increment this manually to force cache eviction RUST_CACHE_PREFIX: "v0-rust" From 44db4a2e93ac11e029f45db3339c00b2c5449dbf Mon Sep 17 00:00:00 2001 From: Xenira <1288524+Xenira@users.noreply.github.com> Date: Sat, 5 Apr 2025 23:28:09 +0200 Subject: [PATCH 2/2] docs(coverage): add coverage badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 58e88f8ab1..1a15ec9763 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![docs.rs](https://img.shields.io/docsrs/ext-php-rs/latest)](https://docs.rs/ext-php-rs) [![Guide Workflow Status](https://img.shields.io/github/actions/workflow/status/davidcole1340/ext-php-rs/docs.yml?branch=master&label=guide)](https://davidcole1340.github.io/ext-php-rs) ![CI Workflow Status](https://img.shields.io/github/actions/workflow/status/davidcole1340/ext-php-rs/build.yml?branch=master) +[![Coverage Status](https://coveralls.io/repos/github/davidcole1340/ext-php-rs/badge.svg)](https://coveralls.io/github/davidcole1340/ext-php-rs) [![Discord](https://img.shields.io/discord/115233111977099271)](https://discord.gg/dphp) Bindings and abstractions for the Zend API to build PHP extensions natively in