From 26e1a5fcb08b5de6c1fbf5d8b8c7cd19fddaf00a Mon Sep 17 00:00:00 2001 From: Jason Cai Date: Fri, 28 Jun 2024 10:17:41 -0500 Subject: [PATCH] set the max path --- .github/workflows/example_tester.yml | 4 +++- .github/workflows/scripts/example_tester.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/example_tester.yml b/.github/workflows/example_tester.yml index 03ed9b5858a..334f87344eb 100644 --- a/.github/workflows/example_tester.yml +++ b/.github/workflows/example_tester.yml @@ -47,7 +47,8 @@ on: workflow_dispatch: - +env: + MAXIM_PATH: . jobs: Example_Tests: @@ -67,6 +68,7 @@ jobs: - name: run_example_test run: | + pwd bash .github/workflows/scripts/example_tester.sh max32690_board_ex diff --git a/.github/workflows/scripts/example_tester.sh b/.github/workflows/scripts/example_tester.sh index 27b0d3db15f..019be1446da 100644 --- a/.github/workflows/scripts/example_tester.sh +++ b/.github/workflows/scripts/example_tester.sh @@ -20,7 +20,7 @@ boardVersion=max32690 boardName=$1 uartPort=$(resource_manager -g $boardName.console_port) target_uc=$(resource_manager -g $boardName.target) -MAXIM_PATH=/home/jcai/Workspace/msdk +#MAXIM_PATH=/home/jcai/Workspace/msdk Path=$MAXIM_PATH/Examples/$target_uc # variable for testing purpose