Skip to content

Commit cd39bf4

Browse files
committed
Refactor the github workflow to use shell script for testing
1 parent 9cbe5c5 commit cd39bf4

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/zephyr.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,11 @@ jobs:
2424
run: |
2525
west init -l .
2626
west update
27-
27+
2828
- name: Twister Tests unit_testing
2929
working-directory: bacnet
3030
run: |
31-
rm -rf twister-out.unit_testing &&
32-
../zephyr/scripts/twister -O twister-out.unit_testing -p unit_testing -T zephyr/tests &&
33-
for file in CMakeFiles CMakeCache.txt cmake_install.cmake Makefile
34-
do
35-
find twister-out.unit_testing -name $file -exec rm -rf {} \; || true
36-
done
31+
unittest.sh
3732
3833
- name: Archive firmware
3934
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)