diff --git a/.github/workflows/test-modules.yml b/.github/workflows/test-modules.yml index bc61117..1e9b357 100644 --- a/.github/workflows/test-modules.yml +++ b/.github/workflows/test-modules.yml @@ -6,7 +6,7 @@ on: - cron: "0 0 * * *" env: - GIT_CONFIG_NAME: "[Automated] Yui" + GIT_CONFIG_NAME: "github-actions" GIT_CONFIG_EMAIL: yukino-org@users.noreply.github.com GIT_OUTPUT_DIR: dist/summary GIT_OUTPUT_BRANCH: summary @@ -14,7 +14,7 @@ env: jobs: test: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 diff --git a/test/all.dart b/test/all.dart index d04cbee..b479cd8 100644 --- a/test/all.dart +++ b/test/all.dart @@ -10,12 +10,6 @@ import '../tools/utils.dart'; import 'files.dart'; class TestAll { - TestAll({ - required this.verbose, - }); - - final bool verbose; - final Map> animeResults = >{}; @@ -46,7 +40,6 @@ class TestAll { } print('Tested: $k'); - if (verbose) print(' '); } Future finish() async { @@ -184,31 +177,17 @@ Future main(final List args) async { final bool ci = args.contains('--ci'); await Procedure.run(() async { - final TestAll tester = TestAll(verbose: !ci); + final TestAll tester = TestAll(); await tester.init(); final List Function()> fns = Function()>[ ...TestFiles.anime.entries.map( (final MapEntry x) => - () => tester.run( - TenkaType.anime, - x.key, - () => x.value.run( - x.key, - verbose: !ci, - ), - ), + () => tester.run(TenkaType.anime, x.key, () => x.value.run(x.key)), ), ...TestFiles.manga.entries.map( (final MapEntry x) => - () => tester.run( - TenkaType.manga, - x.key, - () => x.value.run( - x.key, - verbose: !ci, - ), - ), + () => tester.run(TenkaType.manga, x.key, () => x.value.run(x.key)), ), ];