[PATCH] D159007: [Code Coverage] Integrate patch-based code coverage tool to CI

Shivam Gupta via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 11:00:10 PDT 2023


xgupta created this revision.
Herald added a project: All.
xgupta requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159007

Files:
  .github/workflows/patch-based-code-coverage.yml


Index: .github/workflows/patch-based-code-coverage.yml
===================================================================
--- /dev/null
+++ .github/workflows/patch-based-code-coverage.yml
@@ -0,0 +1,23 @@
+name: LLVM Code Coverage
+
+on:
+  push:
+    branches:
+      - main
+
+jobs:
+  code-coverage:
+    name: Generate Code Coverage Report
+    runs-on: ubuntu-latest
+
+    steps:
+      - name: Checkout LLVM Repository
+        uses: actions/checkout at v2
+        with:
+          ref: main
+
+      - name: Run the patch-based code coverage tool
+        run: |
+          cp llvm/utils/git-check-coverage .
+          git check-coverage
+


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159007.553994.patch
Type: text/x-patch
Size: 648 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230828/26c9b5ec/attachment.bin>


More information about the llvm-commits mailing list