Skip to content

Commit c6bb870

Browse files
committed
ci & pie
1 parent e5fc449 commit c6bb870

File tree

4 files changed

+23
-6
lines changed

4 files changed

+23
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ jobs:
399399
make -f scripts/ci/Makefile test
400400
- name: Coverage
401401
if: success()
402-
run: |
403-
cd src/.libs
404-
bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
402+
uses: codecov/codecov-action@v5
403+
with:
404+
directory: src
405405

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ Known issues are listed in [BUGS](./BUGS) and future ideas can be found in [TODO
2626

2727
pecl install pq
2828

29+
### PIE
30+
31+
pie install m6w6/ext-pq
32+
2933
### Checkout
3034

3135
git clone github.com:m6w6/ext-pq

composer.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "m6w6/ext-pq",
3+
"type": "php-ext",
4+
"license": "BSD-2-Clause",
5+
"description": "PostgreSQL client library (libpq) binding",
6+
"require": {
7+
"php": ">= 7.0.0",
8+
"ext-raphf": "*"
9+
},
10+
"php-ext": {
11+
"extension-name": "pq"
12+
}
13+
}

scripts/gen_github_workflow_ci.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@
7676
<?php if (isset($env["CFLAGS"]) && strpos($env["CFLAGS"], "--coverage") != false) : ?>
7777
- name: Coverage
7878
if: success()
79-
run: |
80-
cd src/.libs
81-
bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
79+
uses: codecov/codecov-action@v5
80+
with:
81+
directory: src
8282
<?php endif; ?>
8383

8484
<?php

0 commit comments

Comments
 (0)