Skip to content

Commit

Permalink
Add GitHub action for code-coverage
Browse files Browse the repository at this point in the history
Changes made in build.yml
Added on workflow in build.yml
  • Loading branch information
SuhashiniNaik committed Nov 4, 2024
1 parent 29db5d8 commit 5770ac4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CMake on a single platform

on: [push, pull_request]
on: [workflow_call,pull_request]

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/code-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ on: [push, pull_request]


jobs:
build:
runs-on: ubuntu-latest
build-coverage:
uses: ./.github/workflows/build-coverage.yml

create-coverage:
runs-on: ubuntu-latest
needs: build-coverage
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 5770ac4

Please sign in to comment.