Skip to content

Commit a83c5ef

Browse files
authored
Update test-apps.yml
1 parent dd5e1f3 commit a83c5ef

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/test-apps.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,12 +248,10 @@ jobs:
248248
script_content=$(curl -Ls https://raw.githubusercontent.com/ivan-hc/AM/main/programs/x86_64/"${{ matrix.file }}")
249249
pure_arg=$(echo "${{ matrix.file }}" | sed 's/\-appimage$//g' | sed 's:.*/::')
250250
if timeout "$TIMEOUT"m am -i "${{ matrix.file }}" --debug 2>&1 | tee -a results/log-"${{ matrix.file }}"; then
251-
if [[ "$pure_arg" =~ (microsoft-edge*|node|npm|oras) ]]; then
251+
if [[ "$pure_arg" =~ (bat-extras|code|kvrt|libfuse2|libreoffice|microsoft-edge*|mpv|node|npm|oras|suyu|swift|wine) ]]; then
252252
echo "App not installed, this is a Known error related to GitHub Actions" | tee -a results/log-"${{ matrix.file }}"
253-
elif echo "$script_content" | grep -q "spooky" || [[ "$pure_arg" =~ (bat-extras|libfuse2) ]]; then
254-
echo y | am -i "${{ matrix.file }}" --debug 2>&1 | tee -a results/log-"${{ matrix.file }}"
255-
eif [[ "$pure_arg" =~ (libreoffice|mpv|wine) ]]; then
256-
echo 1 | am -i "${{ matrix.file }}" --debug 2>&1 | tee -a results/log-"${{ matrix.file }}"
253+
elif echo "$script_content" | grep -q "spooky"; then
254+
echo "App not installed because marked as \"spooky\", require to be tested manually" | tee -a results/log-"${{ matrix.file }}"
257255
else
258256
LASTDIR=$(ls -td /opt/* | head -1 | sed 's:.*/::')
259257
if ! test -f /opt/"$LASTDIR"/remove; then

0 commit comments

Comments
 (0)