name: ci
on:
workflow_dispatch:
- push:
+ release:
+ types: [published]
pull_request:
+ paths-ignore:
+ - .dockerignore
+ - .editorconfig
+ - .gitignore
+ - AUTHORS
+ - CONTRIBUTING.md
+ - CREDITS
+ - Dockerfile
+ - 'docs/**'
+ - EXPERIMENTAL
+ - gen_stub.php*.diff
+ - LICENSE
+ - README.md
+ push:
+ paths-ignore:
+ - .dockerignore
+ - .editorconfig
+ - .gitignore
+ - AUTHORS
+ - CONTRIBUTING.md
+ - CREDITS
+ - Dockerfile
+ - 'docs/**'
+ - EXPERIMENTAL
+ - gen_stub.php*.diff
+ - LICENSE
+ - README.md
jobs:
<?php
$job = $gen->github([
"cur" => [
"PHP" => $cur,
+ "enable_intl" => "yes",
"enable_debug",
"enable_zts",
],
"CFLAGS" => "-O0 -g --coverage",
"CXXFLAGS" => "-O0 -g --coverage",
"PHP" => $cur,
+ "enable_intl" => "yes",
]]);
foreach ($job as $id => $env) {
printf(" %s:\n", $id);
- name: Coverage
if: success()
run: |
- cd src/.libs
- bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
+ find . -name '*.gc*'
+ curl -Os https://uploader.codecov.io/latest/linux/codecov
+ chmod +x codecov
+ ./codecov
<?php endif; ?>
<?php