From 164475607320f50a696ebcbc82bf310b43db8453 Mon Sep 17 00:00:00 2001 From: zen0bit Date: Sun, 5 May 2024 14:09:36 +0200 Subject: [PATCH] cc --- .github/workflows/test-apps.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test-apps.yml b/.github/workflows/test-apps.yml index 3a5d29db9..b6ab6e4b1 100644 --- a/.github/workflows/test-apps.yml +++ b/.github/workflows/test-apps.yml @@ -5,7 +5,10 @@ env: n: 0 on: + push: + branches: '**' pull_request: + branches: '**' workflow_dispatch: concurrency: @@ -21,11 +24,10 @@ jobs: - uses: actions/checkout@v4 - name: test all Apps run: | + n=0 printf '\tSetting up environment...\n' printf '\n\tCreating directory structure...\n' mkdir -p results - printf '\n\tInstalling dependencies...\n' - sudo apt install -y wget curl zsync grep jq sed xdg-user-dirs sudo printf '\n\tMaking needed files executable...\n' chmod +x ./INSTALL printf '\n\tInstalling AM...\n' @@ -40,8 +42,7 @@ jobs: touch results/removed touch results/noremoved for app in ${apps}; do - ((n++)) - echo -e "\n\n$n\n\n" + echo -e "\n\n${n}\n\n" am -i $app && echo "OK: $app" >> results/good || echo "FAIL! $app" >> results/bad am -R $app && echo "OK: $app" >> results/removed || echo "REMOVE! $app" >> results/noremoved done