Skip to content

Commit

Permalink
Update and rename 03-Run_Unit_Test.yaml to 02-Run_Unit_Test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Silabs-ThieuVu authored Oct 16, 2024
1 parent e308591 commit a54bee9
Showing 1 changed file with 27 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 03-Run Unit Test
name: 02-Run Unit Test
on:
pull_request:
branches:
Expand Down Expand Up @@ -35,10 +35,22 @@ jobs:
START_ADDR_FLASH: 0x8000000

steps:
- name: Trigger
run: echo "Triggered by ${{github.event_name}} event"

- name: Check Branch Input
run: |
if [ -z "${{ github.event.inputs.branch }}" ]; then
echo "Branch input is required."
exit 1
fi
echo "Checkout branch ${{ github.event.inputs.branch }}"
- name: Checkout
uses: actions/[email protected]
with:
ref: "${{ github.event.inputs.branch }}"
ref: "${{ github.event.inputs.branch }}"

- name: Add extension
run: |
cd $SDK_PATH
Expand Down Expand Up @@ -106,10 +118,22 @@ jobs:
START_ADDR_FLASH: 0x0000000

steps:
- name: Trigger
run: echo "Triggered by ${{github.event_name}} event"

- name: Check Branch Input
run: |
if [ -z "${{ github.event.inputs.branch }}" ]; then
echo "Branch input is required."
exit 1
fi
echo "Checkout branch ${{ github.event.inputs.branch }}"
- name: Checkout
uses: actions/[email protected]
with:
ref: "${{ github.event.inputs.branch }}"
ref: "${{ github.event.inputs.branch }}"

- name: Add extension
run: |
cd $SDK_PATH
Expand Down

0 comments on commit a54bee9

Please sign in to comment.