diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 000000000..6b7f8197f --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,6 @@ +Summary: \ Description of the change\ +Type: \ Type of the delivery. eg. Feature/Fix/Cleanup\ +Owner: \ Author of the change. Should be added only when committer is not author of the change\ +Test Plan: \ How the change was tested. eg. Unit Test/Manual Tests (and description how exactly)/YT Conformance Tests\ +Dependencies and Impacts: \ Should be added only when there were changes in the public API.\ +Jira: \ Number of jira ticket created on https://jira.rdkcentral.com/jira/projects/RIALTO diff --git a/.github/workflows/build_ut.yml b/.github/workflows/build_ut.yml index e60725ecc..03b88bfee 100644 --- a/.github/workflows/build_ut.yml +++ b/.github/workflows/build_ut.yml @@ -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: diff --git a/.github/workflows/clang-format.yml b/.github/workflows/clang-format.yml index fe3246a5b..1b036f954 100644 --- a/.github/workflows/clang-format.yml +++ b/.github/workflows/clang-format.yml @@ -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 @@ -66,6 +80,7 @@ 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 @@ -73,7 +88,9 @@ jobs: - 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 diff --git a/testfile.txt b/testfile.txt new file mode 100644 index 000000000..b6e40ad39 --- /dev/null +++ b/testfile.txt @@ -0,0 +1 @@ +This is test file