Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Summary: \<mandatory\> Description of the change\
Type: \<mandatory\> Type of the delivery. eg. Feature/Fix/Cleanup\
Owner: \<optional\> Author of the change. Should be added only when committer is not author of the change\
Test Plan: \<mandatory\> How the change was tested. eg. Unit Test/Manual Tests (and description how exactly)/YT Conformance Tests\
Dependencies and Impacts: \<optional\> Should be added only when there were changes in the public API.\
Jira: \<optional, but highly recommended\> Number of jira ticket created on https://jira.rdkcentral.com/jira/projects/RIALTO
2 changes: 2 additions & 0 deletions .github/workflows/build_ut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ on:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
repository_dispatch:
types: build_ut

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down
19 changes: 18 additions & 1 deletion .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,22 @@
# correct. This workflow shall fail if any code has been changed by clang-format. Logs
# are uploaded on failure.














name: clang-format


# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
Expand Down Expand Up @@ -66,14 +80,17 @@ jobs:
# Run the prgram with rialto config
- name: Run clang-format
run: |
echo "::warning::Code coverage decreased2"
find . -regex '.*\.\(cpp\|hpp\|cu\|c\|h\)' -exec clang-format-12 -style=file -n --Werror {} \; &> clang-format_errors.log

# Process the clang-format errors and generate a junit xml file
# Generate a failure if errors detected
- name: Process clang-format results
id: create-clang-format-xml
if: failure() || success()
run: python scripts/clang-format/process_clang-format_errors.py
run: |
python scripts/clang-format/process_clang-format_errors.py
echo "::warning::Code coverage decreased"

# Report the errors on failure using the xml file
- name: Check results
Expand Down
1 change: 1 addition & 0 deletions testfile.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This is test file