Skip to content

Commit

Permalink
Update 02-Run_Unit_Test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Silabs-ThieuVu authored Nov 29, 2024
1 parent 265b18e commit cb35565
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/02-Run_Unit_Test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,6 @@ jobs:
fi
echo "Current PATH:"
echo $PATH | tr ':' '\n'
echo "compiler=$COMPILER" >> $GITHUB_OUTPUT
echo "Generate MG12 image"
cd ${{ github.workspace }}
if [ "$COMPILER" == "IAR" ]; then
Expand Down Expand Up @@ -384,14 +383,17 @@ jobs:
name: Run unit test
runs-on: ${{ inputs.RUNNER_EXECUTE || 'DS_SQA_HN_01' }}
needs: job1
if: ${{ needs.job1.outputs.compiler == 'GCC' }}
permissions:
contents: read
pull-requests: write

steps:
- name: Trigger
run: |
if [ "$COMPILER" == "IAR" ]; then
echo "Run with IAR in job1"
exit 0
fi
echo "Triggered by ${{github.event_name}} event"
echo "Repo root directory: $GITHUB_WORKSPACE"
echo "Current directory: $PWD"
Expand Down

0 comments on commit cb35565

Please sign in to comment.