From 92223fb351bc9967765eae6938b32371f85c0305 Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Wed, 21 Dec 2022 18:57:56 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Removed=20some=20apps=20from=20C?= =?UTF-8?q?I=20Test?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pr-checks.yml | 3 ++- apks/options.toml | 2 +- src/parser.py | 9 ++++++++- src/utils.py | 3 +-- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 1c27f16..53f91b6 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -15,7 +15,8 @@ jobs: build-apk-pr-check: uses: ./.github/workflows/build-artifact.yml with: - FILES_TO_EXPECT: 18 + FILES_TO_EXPECT: 17 secrets: ENVS: | CI_TEST=True + ES_JAVA_OPTS: '-Xms4g -Xmx4g' diff --git a/apks/options.toml b/apks/options.toml index 347a8a5..cbd971a 100644 --- a/apks/options.toml +++ b/apks/options.toml @@ -2,6 +2,6 @@ websiteURL = "https://t.me/revanced_apkss" websiteSummary = "Visit Revanced Builder Channel" -[website-music] +['website-music'] websiteURL = "https://t.me/revanced_apkss" websiteSummary = "Visit Revanced Builder Channel" diff --git a/src/parser.py b/src/parser.py index 3f8d15d..0316166 100644 --- a/src/parser.py +++ b/src/parser.py @@ -64,6 +64,12 @@ class Parser(object): except ValueError: return False + def exclude_all_patches(self) -> None: + """Exclude all patches to Speed up CI.""" + for idx, item in enumerate(self._PATCHES): + if item == "-i": + self._PATCHES[idx] = "-e" + # noinspection IncorrectFormatting def patch_app( self, @@ -107,7 +113,8 @@ class Parser(object): logger.debug("Using experimental features") args.append("--experimental") args[1::2] = map(lambda i: self.config.temp_folder.joinpath(i), args[1::2]) - + if self.config.ci_test: + self.exclude_all_patches() if self._PATCHES: args.extend(self._PATCHES) if ( diff --git a/src/utils.py b/src/utils.py index 8ddd0b6..3e5abab 100644 --- a/src/utils.py +++ b/src/utils.py @@ -2,7 +2,7 @@ from typing import Dict default_build = [ - "ticktick", + "youtube", ] all_builds = [ "youtube", @@ -21,7 +21,6 @@ all_builds = [ "windy", "my-expenses", "backdrops", - "expensemanager", ] possible_archs = ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]