dockerignore
[awesomized/ext-ion] / scripts / gen_github_workflow_ci.php
index 62fa42b5d07e3552336158d877e2a783e913fca2..9f6f2686cddaaaf7443eda9b9e55246416c190a8 100755 (executable)
@@ -4,8 +4,36 @@
 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
@@ -57,7 +85,8 @@ foreach ($job as $id => $env) {
       - name: Coverage
         if: success()
         run: |
-          cd src/.libs
+          find . -name '*.gc*'
+          cd .libs
           bash <(curl -s https://codecov.io/bash) -X xcode -X coveragepy
 <?php endif; ?>