mirror of
https://github.com/sotam0316/docker-py-revanced.git
synced 2026-04-25 03:48:37 +09:00
👷 Test all apps in PR checks
This commit is contained in:
@@ -15,7 +15,7 @@ jobs:
|
|||||||
build-apk-pr-check:
|
build-apk-pr-check:
|
||||||
uses: ./.github/workflows/build-artifact.yml
|
uses: ./.github/workflows/build-artifact.yml
|
||||||
with:
|
with:
|
||||||
FILES_TO_EXPECT: 3
|
FILES_TO_EXPECT: 18
|
||||||
secrets:
|
secrets:
|
||||||
ENVS: |
|
ENVS: |
|
||||||
PATCH_APPS=youtube_music,twitter
|
CI_TEST=True
|
||||||
|
|||||||
+5
-2
@@ -5,7 +5,7 @@ from typing import Dict, List
|
|||||||
from environs import Env
|
from environs import Env
|
||||||
from requests import Session
|
from requests import Session
|
||||||
|
|
||||||
from src.utils import default_build
|
from src.utils import all_builds, default_build
|
||||||
|
|
||||||
|
|
||||||
class RevancedConfig:
|
class RevancedConfig:
|
||||||
@@ -28,7 +28,10 @@ class RevancedConfig:
|
|||||||
self.apk_pure = ["hex-editor"]
|
self.apk_pure = ["hex-editor"]
|
||||||
self.apk_sos = ["expensemanager"]
|
self.apk_sos = ["expensemanager"]
|
||||||
self.keystore_name = env.str("KEYSTORE_FILE_NAME", "revanced.keystore")
|
self.keystore_name = env.str("KEYSTORE_FILE_NAME", "revanced.keystore")
|
||||||
self.apps = env.list("PATCH_APPS", default_build)
|
self.ci_test = env.bool("CI_TEST", False)
|
||||||
|
self.apps = env.list(
|
||||||
|
"PATCH_APPS", all_builds if self.ci_test else default_build
|
||||||
|
)
|
||||||
self.extended_apps: List[str] = ["youtube", "youtube_music"]
|
self.extended_apps: List[str] = ["youtube", "youtube_music"]
|
||||||
self.rip_libs_apps: List[str] = ["youtube"]
|
self.rip_libs_apps: List[str] = ["youtube"]
|
||||||
self.normal_cli_jar = "revanced-cli.jar"
|
self.normal_cli_jar = "revanced-cli.jar"
|
||||||
|
|||||||
@@ -2,7 +2,26 @@
|
|||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
default_build = [
|
default_build = [
|
||||||
|
"ticktick",
|
||||||
|
]
|
||||||
|
all_builds = [
|
||||||
"youtube",
|
"youtube",
|
||||||
|
"youtube_music",
|
||||||
|
"twitter",
|
||||||
|
"reddit",
|
||||||
|
"tiktok",
|
||||||
|
"warnwetter",
|
||||||
|
"spotify",
|
||||||
|
"nyx-music-player",
|
||||||
|
"icon_pack_studio",
|
||||||
|
"ticktick",
|
||||||
|
"twitch",
|
||||||
|
"hex-editor",
|
||||||
|
"citra",
|
||||||
|
"windy",
|
||||||
|
"my-expenses",
|
||||||
|
"backdrops",
|
||||||
|
"expensemanager",
|
||||||
]
|
]
|
||||||
possible_archs = ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
|
possible_archs = ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user