Skip to content

Commit 3e25fcc

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

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/test-apps.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,9 @@ jobs:
247247
mkdir -p results
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:.*/::')
250-
if timeout "$TIMEOUT"m am -i "${{ matrix.file }}" --debug 2>&1 | tee -a results/log-"${{ matrix.file }}"; then
250+
if timeout "$TIMEOUT"m echo y | am -i "${{ matrix.file }}" --debug 2>&1 | tee -a results/log-"${{ matrix.file }}"; then
251251
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"; then
254-
echo "App not installed because marked as \"spooky\", require to be tested manually" | tee -a results/log-"${{ matrix.file }}"
255253
else
256254
LASTDIR=$(ls -td /opt/* | head -1 | sed 's:.*/::')
257255
if ! test -f /opt/"$LASTDIR"/remove; then

0 commit comments

Comments
 (0)