Merge pull request #188 from apache/coverage_fix

try to get coveralls to have a useful badge
diff --git a/.github/workflows/code_coverage.yml b/.github/workflows/code_coverage.yml
index b05bca0..e9e3798 100644
--- a/.github/workflows/code_coverage.yml
+++ b/.github/workflows/code_coverage.yml
@@ -1,6 +1,10 @@
 name: Code Coverage
 
-on: [pull_request]
+on:
+  pull_request:
+  push:
+    branches:
+      - master
 
 env:
   BUILD_TYPE: Debug