Skip to content

Commit

Permalink
Add GUIX Studio source code and regression tests. (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
ting-ms authored Dec 5, 2023
1 parent 20ef023 commit e2eb6de
Show file tree
Hide file tree
Showing 1,057 changed files with 2,043,853 additions and 70 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/regression_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "linux_job"
run_tests:
guix:
permissions:
contents: read
issues: read
Expand All @@ -26,4 +26,5 @@ jobs:
uses: azure-rtos/threadx/.github/workflows/regression_template.yml@master
with:
cmake_path: ./test/guix_test/cmake
result_affix: GUIX

56 changes: 56 additions & 0 deletions .github/workflows/studio_demo_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# This is a basic workflow that is manually triggered

name: GUIX Studio Demo Test

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "linux_job"
run_tests:
permissions:
contents: read
issues: read
checks: write
pull-requests: write

# The type of runner that the job will run on
runs-on: windows-2019

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
submodules: true

- name: Build
run: scripts\build_studio_demo.cmd

- name: Test
run: scripts\test_studio_demo.cmd

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v2
if: always()
with:
check_name: Test Results GUIX Studio Demo
files: |
test\guix_studio_test\test_demo\*.xml
- name: Upload Test Results
if: success() || failure()
uses: actions/[email protected]
with:
name: test_reports
path: |
test\guix_studio_test\test_demo\*.xml
test\guix_studio_test\test_demo\Testing\**\*.xml
56 changes: 56 additions & 0 deletions .github/workflows/studio_demo_test_compile.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# This is a basic workflow that is manually triggered

name: GUIX Studio Demo Compile Test

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "linux_job"
run_tests:
permissions:
contents: read
issues: read
checks: write
pull-requests: write

# The type of runner that the job will run on
runs-on: windows-2019

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
submodules: true

- name: Build
run: scripts\build_studio_demo_compile.cmd

- name: Test
run: scripts\test_studio_demo_compile.cmd

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v2
if: always()
with:
check_name: Test Results GUIX Studio Demo Compile
files: |
test\guix_studio_test\test_demo\demo_compile\*.xml
- name: Upload Test Results
if: success() || failure()
uses: actions/[email protected]
with:
name: test_reports
path: |
test\guix_studio_test\test_demo\demo_compile\*.xml
test\guix_studio_test\test_demo\demo_compile\Testing\**\*.xml
56 changes: 56 additions & 0 deletions .github/workflows/studio_view_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# This is a basic workflow that is manually triggered

name: GUIX Studio View Test

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job
run_tests:
permissions:
contents: read
issues: read
checks: write
pull-requests: write

# The type of runner that the job will run on
runs-on: windows-2019

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Check out the repository
uses: actions/checkout@v4
with:
submodules: true

- name: Install
run: scripts\install_studio_view.cmd

- name: Test
run: scripts\test_studio_view.cmd

- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action/composite@v2
if: always()
with:
check_name: Test Results GUIX Studio View
files: |
test\guix_studio_test\test_view\studio_view_test_log.xml
- name: Upload Test Results
if: success() || failure()
uses: actions/[email protected]
with:
name: test_reports
path: |
test\guix_studio_test\test_view\studio_view_test_log.txt
test\guix_studio_test\test_view\test_failures
Loading

0 comments on commit e2eb6de

Please sign in to comment.