Skip to content
Merged
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
16 changes: 11 additions & 5 deletions .github/workflows/L1-tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: L1-tests

on:
push:
branches: [ main, develop, 'sprint/**', 'release/**' ]
pull_request:
branches: [ main, develop, 'sprint/**', 'release/**' ]
workflow_call:
secrets:
RDKCM_RDKE:
required: true

env:
BUILD_TYPE: Debug
Expand Down Expand Up @@ -66,6 +66,10 @@ jobs:
python-version: '3.x'
- run: pip install jsonref

- name: ACK External Trigger
run: |
echo "Message: External Trigger Received for L1 Tests"

- name: Set up CMake
uses: jwlawson/[email protected]
with:
Expand Down Expand Up @@ -119,7 +123,9 @@ jobs:
- name: Checkout entservices-inputoutput
uses: actions/checkout@v3
with:
repository: rdkcentral/entservices-inputoutput
path: entservices-inputoutput
ref: develop

- name: Checkout googletest
if: steps.cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -667,7 +673,7 @@ jobs:
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v4
with:
name: artifacts
name: artifacts-L1-inputoutput
path: |
coverage/
valgrind_log
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/L2-tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: L2-tests

on:
push:
branches: [ main, develop, 'sprint/**', 'release/**' ]
pull_request:
branches: [ main, develop, 'sprint/**', 'release/**' ]
workflow_call:
secrets:
RDKCM_RDKE:
required: true

env:
BUILD_TYPE: Debug
Expand Down Expand Up @@ -36,6 +36,10 @@ jobs:
python-version: '3.x'
- run: pip install jsonref

- name: ACK External Trigger
run: |
echo "Message: External Trigger Received for L2 Tests"

- name: Set up CMake
uses: jwlawson/[email protected]
with:
Expand Down Expand Up @@ -81,7 +85,9 @@ jobs:
- name: Checkout entservices-inputoutput
uses: actions/checkout@v3
with:
repository: rdkcentral/entservices-inputoutput
path: entservices-inputoutput
ref: develop

- name: Checkout entservices-testframework
uses: actions/checkout@v3
Expand Down Expand Up @@ -375,7 +381,7 @@ jobs:
-I $GITHUB_WORKSPACE/entservices-testframework/Tests/headers/rdk/iarmmgrs-hal
-I $GITHUB_WORKSPACE/entservices-testframework/Tests/headers/systemservices
-I $GITHUB_WORKSPACE/entservices-testframework/Tests/headers/systemservices/proc
-I $GITHUB_WORKSPACE/entservices-deviceanddisplay/helpers
-I $GITHUB_WORKSPACE/entservices-inputoutput/helpers
-I $GITHUB_WORKSPACE/install/usr/include
-I $GITHUB_WORKSPACE/install/usr/include/WPEFramework
-include $GITHUB_WORKSPACE/entservices-testframework/Tests/mocks/devicesettings.h
Expand Down Expand Up @@ -581,7 +587,7 @@ jobs:
if: ${{ !env.ACT }}
uses: actions/upload-artifact@v4
with:
name: artifacts
name: artifacts-L2-inputoutput
path: |
coverage/
valgrind_log
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/tests-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
permissions:
contents: read
name: main-workflow

on:
push:
branches: [ main, develop, 'sprint/**', 'release/**' ]
pull_request:
branches: [ main, develop, 'sprint/**', 'release/**' ]

jobs:
trigger-L1:
uses: ./.github/workflows/L1-tests.yml
secrets:
RDKCM_RDKE: ${{ secrets.RDKCM_RDKE }}

trigger-L2:
uses: ./.github/workflows/L2-tests.yml
secrets:
RDKCM_RDKE: ${{ secrets.RDKCM_RDKE }}

Loading