-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust Unit test according to JSON / cmd changes
- Loading branch information
1 parent
baefa17
commit 28d897e
Showing
13 changed files
with
15 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,15 +129,18 @@ jobs: | |
# install packages / except howdy as its too large | ||
export DEBIAN_FRONTEND=noninteractive | ||
cd config | ||
eval $"( "${PREINSTALL}" )" | ||
#eval $"( "${PREINSTALL}" )" | ||
eval "$PREINSTALL" | ||
sudo bash bin/armbian-config --cmd "$TEST_ID" | ||
eval $"( "${CONDITION}" )" | ||
#eval $"( "${CONDITION}" )" | ||
eval "$CONDITION" | ||
# stats | ||
FILENAME="data-"$(echo ${{ matrix.image.image }} | sed "s/:/-/g")"-${TEST_ID}.teststats" | ||
echo $RELEASE >> ../${FILENAME} | ||
bash bin/armbian-config --cmd | grep "${TEST_ID}" | xargs >> ../${FILENAME} | ||
echo " " >> ../${FILENAME} | ||
RAWCOMMAND=$(bash bin/armbian-config --cmd | grep "${TEST_ID}" | xargs) | ||
COMMAND=$(echo $RAWCOMMAND | cut -d" " -f1,2) | ||
DESCRIPTION=$(echo $RAWCOMMAND | cut -d" " -f4-) | ||
echo "|${RELEASE}|\`armbian-config ${COMMAND}\`| ${DESCRIPTION} |" > ../${FILENAME} | ||
- name: Upload test | ||
uses: actions/[email protected] | ||
|
@@ -161,4 +164,6 @@ jobs: | |
run: | | ||
echo "# Succesful tests:" >> $GITHUB_STEP_SUMMARY | ||
echo "|Release|Command|Description|" >> $GITHUB_STEP_SUMMARY | ||
echo "|:---|:---|:---|" >> $GITHUB_STEP_SUMMARY | ||
cat ./*.teststats | sed '$ s/.$//' >> $GITHUB_STEP_SUMMARY |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# Install and tests gnome desktop | ||
ENABLED=true | ||
CONDITION="[ -f /usr/share/xsessions/gnome.desktop ]" |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ENABLED=true | ||
PREINSTALL="bash bin/armbian-config --cmd SY009" | ||
CONDITION="[ ! -f /usr/bin/zsh ]" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# Installs XFCE desktop and test it | ||
ENABLED=true | ||
CONDITION="[ -f /usr/share/xsessions/xfce.desktop ]" |