Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

Commit 03e2058

Browse files
author
Joseph Finnegan
committed
testing setting of env var
1 parent 9560246 commit 03e2058

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/github-ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
runs-on: self-hosted
8181
needs: generate-builds
8282
env:
83-
TESTSUITE_STATUS_CHANGED_DURING_RUN: false
83+
TESTSUITE_STATUS_CHANGED_DURING_RUN: "false"
8484
TESTSUITE_RUNNING_STATUS_LOC: ${{ secrets.TESTSUITE_RUNNING_STATUS_LOC }}
8585

8686
steps:
@@ -90,7 +90,8 @@ jobs:
9090
run: |
9191
if [ $(cat $TESTSUITE_RUNNING_STATUS_LOC) = RUNNING ] ; then exit 1; fi
9292
echo RUNNING > $TESTSUITE_RUNNING_STATUS_LOC
93-
echo true >> $TESTSUITE_STATUS_CHANGED_DURING_RUN
93+
echo "true" >> $TESTSUITE_STATUS_CHANGED_DURING_RUN
94+
echo $TESTSUITE_STATUS_CHANGED_DURING_RUN
9495
cd build/apps/modem
9596
JLinkExe -SelectEmuBySN 770821797 -CommandFile jlink-flash-full.script > flashOutput1.txt
9697
JLinkExe -SelectEmuBySN 772958091 -CommandFile jlink-flash-full.script > flashOutput2.txt
@@ -101,6 +102,7 @@ jobs:
101102
102103
- name: Run testsuite
103104
run: |
105+
echo $TESTSUITE_STATUS_CHANGED_DURING_RUN
104106
rm -rf Sub-IoT-testsuite
105107
git clone --recurse-submodules https://github.com/Sub-IoT/Sub-IoT-testsuite.git
106108
cd Sub-IoT-testsuite
@@ -120,6 +122,7 @@ jobs:
120122
- name: Reset atomic on failure of previous steps
121123
if: always()
122124
run: |
125+
echo $TESTSUITE_STATUS_CHANGED_DURING_RUN
123126
if [ $TESTSUITE_STATUS_CHANGED_DURING_RUN = true ] ; then echo STOPPED > $TESTSUITE_RUNNING_STATUS_LOC ; fi
124127
125128

0 commit comments

Comments
 (0)