1# This is a basic workflow that is manually triggered 2 3name: GUIX Studio Demo Test 4 5# Controls when the action will run. Triggers the workflow on push or pull request 6# events but only for the master branch 7on: 8 workflow_dispatch: 9 push: 10 branches: [ master ] 11 pull_request: 12 branches: [ master ] 13 14# A workflow run is made up of one or more jobs that can run sequentially or in parallel 15jobs: 16 # This workflow contains a single job called "linux_job" 17 run_tests: 18 permissions: 19 contents: read 20 issues: read 21 checks: write 22 pull-requests: write 23 24 # The type of runner that the job will run on 25 runs-on: windows-2019 26 27 # Steps represent a sequence of tasks that will be executed as part of the job 28 steps: 29 - name: Check out the repository 30 uses: actions/checkout@v4 31 with: 32 submodules: true 33 34 - name: Build 35 run: scripts\build_guix_studio.cmd 36 37 - name: Test 38 run: scripts\test_studio_demo.cmd 39 40 - name: Publish Test Results 41 uses: EnricoMi/publish-unit-test-result-action/composite@v2 42 if: always() 43 with: 44 check_name: Test Results GUIX Studio Demo 45 files: | 46 test\guix_studio_test\test_demo\*.xml 47 48 - name: Upload Test Results 49 if: success() || failure() 50 uses: actions/upload-artifact@v3.1.3 51 with: 52 name: test_reports 53 path: | 54 test\guix_studio_test\test_demo\*.xml 55 test\guix_studio_test\test_demo\Testing\**\*.xml 56 57