Skip to content

Add regression tests #21

Add regression tests

Add regression tests #21

Workflow file for this run

# This is a basic workflow that is manually triggered
name: USBX Regression 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:
inputs:
tests_to_run:
description: 'all, single or multiple of default_build_coverage error_check_build_full_coverage tracex_enable_build device_buffer_owner_build device_zero_copy_build nofx_build_coverage optimized_build standalone_device_build_coverage standalone_device_buffer_owner_build standalone_device_zero_copy_build standalone_host_build_coverage standalone_build_coverage generic_build otg_support_build memory_management_build_coverage msrc_rtos_build msrc_standalone_build'
required: true
default: 'default_build_coverage'
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:

Check failure on line 22 in .github/workflows/regression_test.yml

View workflow run for this annotation

GitHub Actions / USBX Regression Test

Invalid workflow file

The workflow is not valid. .github/workflows/regression_test.yml (Line: 22, Col: 3): Error calling workflow 'azure-rtos/threadx/.github/workflows/regression_template.yml@master'. The nested job 'run_tests' is requesting 'checks: write, contents: read, issues: read, pull-requests: write', but is only allowed 'checks: none, contents: none, issues: none, pull-requests: none'.
permissions:
pages: write
id-token: write
uses: azure-rtos/threadx/.github/workflows/regression_template.yml@master
with:
cmake_path: ./test/cmake/usbx
build_script: ./scripts/build.sh $*