Skip to content

Commit 3d11570

Browse files
committed
. e edited to go for fewer attempts to launch LV and disabled error output so it should continue on and now capture VIPM-CLI error logs
1 parent d07fec5 commit 3d11570

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/test_and_build_docker.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
pkill -f g-cli || true
6565
pkill -f labview || true
6666
apt-get install -y lsof
67-
for i in {1..10}; do
67+
for i in {1..3}; do
6868
echo "Attempt $i: launching LabVIEW..."
6969
nohup labview64 > /tmp/lv_launch.log 2>&1 &
7070
LV_PID=$!
@@ -83,10 +83,10 @@ jobs:
8383
echo "VI server not detected on attempt $i, killing LabVIEW and retrying..."
8484
pkill -f labview64 || true
8585
sleep 5
86-
if [ $i -eq 10 ]; then
87-
echo "VI server failed to come up after 10 attempts"
88-
exit 1
89-
fi
86+
# if [ $i -eq 10 ]; then
87+
# echo "VI server failed to come up after 10 attempts"
88+
# exit 1
89+
# fi
9090
done
9191
- name: Build Package
9292
shell: bash
@@ -119,7 +119,8 @@ jobs:
119119
path: |
120120
reports
121121
**/*.received.*
122-
- name: Grab Artifacts
122+
/usr/local/jki/vipm/VIPM-CLI/error
123+
- name: Grab Artifacts
123124
if: success() || failure() # always run even if the previous step fails
124125
uses: actions/upload-artifact@v6
125126
with:

0 commit comments

Comments
 (0)