-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and rename 03-Run_Unit_Test.yaml to 02-Run_Unit_Test.yaml
- Loading branch information
1 parent
e308591
commit a54bee9
Showing
1 changed file
with
27 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
|
@@ -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 | ||
|
@@ -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 | ||
|