Skip to content

Commit

Permalink
Update regression_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaocq2001 authored Nov 27, 2023
1 parent 06a2654 commit f43d18b
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/regression_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ on:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
run_tests_with_coverage:
if: ${{ !inputs.skip_coverage }}
run_tests:
# if: ${{ !inputs.skip_coverage }}
permissions:
contents: read
issues: read
Expand All @@ -39,22 +39,22 @@ jobs:
build_script: './scripts/build.sh ${{ inputs.tests_to_run }}'
test_script: './scripts/test.sh ${{ inputs.tests_to_run }}'
coverage_name: '${{ inputs.coverage_name }}'
skip_coverage: false
skip_coverage: ${{ !!inputs.skip_coverage }}

run_tests_without_coverage:
if: inputs.skip_coverage
permissions:
contents: read
issues: read
checks: write
pull-requests: write
pages: write
id-token: write
# run_tests_without_coverage:
# if: inputs.skip_coverage
# permissions:
# contents: read
# issues: read
# checks: write
# pull-requests: write
# 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 ${{ inputs.tests_to_run }}'
test_script: './scripts/test.sh ${{ inputs.tests_to_run }}'
coverage_name: '${{ inputs.coverage_name }}'
skip_coverage: true
# uses: azure-rtos/threadx/.github/workflows/regression_template.yml@master
# with:
# cmake_path: './test/cmake/usbx'
# build_script: './scripts/build.sh ${{ inputs.tests_to_run }}'
# test_script: './scripts/test.sh ${{ inputs.tests_to_run }}'
# coverage_name: '${{ inputs.coverage_name }}'
# skip_coverage: true

0 comments on commit f43d18b

Please sign in to comment.