RDK-56229: Add IUI version as mandatory field #97
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Tests | |
on: | |
pull_request: | |
branches: [ develop ] | |
env: | |
AUTOMATICS_UNAME: ${{ secrets.AUTOMATICS_UNAME }} | |
AUTOMATICS_PASSCODE: ${{ secrets.AUTOMATICS_PASSCODE }} | |
jobs: | |
execute-unit-tests-on-pr: | |
name: Execute unit tests in gtest test suite | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/rdkcentral/docker-rdk-ci:latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run unit tests | |
run: sh -c test/run_ut.sh | |
- name: Upload test results to automatic test result management system | |
if: github.repository_owner == 'rdkcentral' | |
run: | | |
git config --global --add safe.directory `pwd` | |
gtest-json-result-push.py /tmp/Gtest_Report https://rdkeorchestrationservice.apps.cloud.comcast.net/rdke_orchestration_api/push_unit_test_results `pwd` | |