【GitHub Actions】把域名配置为禁漫的特定可用域名 (#111)

GitHub Actions重新可用
This commit is contained in:
hect0x7 2023-08-29 20:34:27 +08:00 committed by GitHub
parent faf7cfecd2
commit de074f82e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 3 deletions

View File

@ -1,2 +1,7 @@
# GitHub Actions 测试用
version: '2.0'
version: '2.0'
client:
domain:
- jmcomic1.me
- jmcomic.me

View File

@ -4,3 +4,9 @@ version: '2.0'
dir_rule:
base_dir: /home/runner/work/jmcomic/download/
rule: Bd_Aauthor_Atitle_Pindex
client:
domain:
- jmcomic.me
- jmcomic1.me

View File

@ -104,9 +104,9 @@ class Test_Api(JmTestConfigurable):
def test_get_jmcomic_url(self):
func_list = {
self.client.get_jmcomic_url,
self.client.get_jmcomic_domain_all,
# self.client.get_jmcomic_domain_all,
JmModuleConfig.get_jmcomic_url,
JmModuleConfig.get_jmcomic_domain_all,
# JmModuleConfig.get_jmcomic_domain_all,
}
exception_list = []