Merge pull request #110 from eclipse-threadx/wickste-patch-5 #75
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
# 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_guix_studio.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 | |