Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,20 @@ jobs:
- name: Install package
shell: bash {0}
run: sudo apt install ./testrun*.deb
- name: Start testrun
shell: bash {0}
run: sudo testrun > >(tee testrun_output.log) 2>&1 &
- name: Verify testrun started
shell: bash {0}
run: |
sleep 5
if grep -q "API waiting for requests" testrun_output.log; then
echo "Testrun started successfully."
else
echo "Testrun did not start correctly."
cat testrun_output.log
exit 1
fi

install_package_22:
permissions: {}
Expand All @@ -69,6 +83,20 @@ jobs:
- name: Install package
shell: bash {0}
run: sudo apt install ./testrun*.deb
- name: Start testrun
shell: bash {0}
run: sudo testrun > >(tee testrun_output.log) 2>&1 &
- name: Verify testrun started
shell: bash {0}
run: |
sleep 5
if grep -q "API waiting for requests" testrun_output.log; then
echo "Testrun started successfully."
else
echo "Testrun did not start correctly."
cat testrun_output.log
exit 1
fi

install_package_24:
permissions: {}
Expand All @@ -89,3 +117,17 @@ jobs:
- name: Install package
shell: bash {0}
run: sudo apt install ./testrun*.deb
- name: Start testrun
shell: bash {0}
run: sudo testrun > >(tee testrun_output.log) 2>&1 &
- name: Verify testrun started
shell: bash {0}
run: |
sleep 5
if grep -q "API waiting for requests" testrun_output.log; then
echo "Testrun started successfully."
else
echo "Testrun did not start correctly."
cat testrun_output.log
exit 1
fi