From 632feeceb078e458661d34121e8a3679adb19af1 Mon Sep 17 00:00:00 2001 From: narunblog Date: Tue, 1 Aug 2023 01:10:27 +0900 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E3=81=AE=E7=8A=B6=E6=85=8B=E3=81=A0?= =?UTF-8?q?=E3=81=A8=E5=8B=95=E3=81=8F=E3=81=93=E3=81=A8=E3=82=92=E7=A2=BA?= =?UTF-8?q?=E8=AA=8D=E3=81=A7=E3=81=8D=E3=81=9F=E3=81=AE=E3=81=A7=E3=80=81?= =?UTF-8?q?=E5=86=8D=E5=BA=A6=E5=88=A5=E3=82=B8=E3=83=A7=E3=83=96=E3=81=AB?= =?UTF-8?q?=E5=88=86=E3=81=91=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/flutter_test.yaml | 68 ++++++++++++++--------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/.github/workflows/flutter_test.yaml b/.github/workflows/flutter_test.yaml index be1ceb52..26cf829a 100644 --- a/.github/workflows/flutter_test.yaml +++ b/.github/workflows/flutter_test.yaml @@ -47,6 +47,40 @@ jobs: # テストを実行 - name: Run Flutter Test by melos run: melos exec --sdk-path=${{ runner.tool_cache }}/flutter -- "flutter test --machine --coverage > test-report.log" + # # テスト結果を GitHub Actions に表示する + # - name: Report Test + # uses: dorny/test-reporter@v1 + # # テスト結果を表示するのでテストが失敗しても実行する + # if: always() + # with: + # name: Flutter Test Report mottai_flutter_app + # path: /home/runner/work/mottai-flutter-app/mottai-flutter-app/packages/mottai_flutter_app/test-report.log + # reporter: flutter-json + # # Codecov に結果を送信 + # - name: Upload coverage to Codecov + # uses: codecov/codecov-action@v2 + # with: + # token: ${{secrets.CODECOV_TOKEN}} + # file: /home/runner/work/mottai-flutter-app/mottai-flutter-app/packages/mottai_flutter_app/coverage/lcov.info + # fail_ci_if_error: true + # flags: unittests_mottai_flutter_app + # verbose: true + + # test report mottai_flutter_app + test_report_mottai_flutter_app: + name: test report mottai_flutter_app + # テストジョブが成功したら実行する + needs: + - flutter_test + # ジョブを実行するOS + runs-on: ubuntu-latest + # タイムアウト時間(分) + timeout-minutes: 10 + # ジョブの手順 + steps: + # ソースコードをチェックアウト + - name: Checkout + uses: actions/checkout@v3 # テスト結果を GitHub Actions に表示する - name: Report Test uses: dorny/test-reporter@v1 @@ -65,37 +99,3 @@ jobs: fail_ci_if_error: true flags: unittests_mottai_flutter_app verbose: true - - # # test report mottai_flutter_app - # test_report_mottai_flutter_app: - # name: test report mottai_flutter_app - # # テストジョブが成功したら実行する - # needs: - # - flutter_test - # # ジョブを実行するOS - # runs-on: ubuntu-latest - # # タイムアウト時間(分) - # timeout-minutes: 10 - # # ジョブの手順 - # steps: - # # ソースコードをチェックアウト - # - name: Checkout - # uses: actions/checkout@v3 - # # テスト結果を GitHub Actions に表示する - # - name: Report Test - # uses: dorny/test-reporter@v1 - # # テスト結果を表示するのでテストが失敗しても実行する - # if: always() - # with: - # name: Flutter Test Report mottai_flutter_app - # path: /home/runner/work/mottai-flutter-app/mottai-flutter-app/packages/mottai_flutter_app/test-report.log - # reporter: flutter-json - # # Codecov に結果を送信 - # - name: Upload coverage to Codecov - # uses: codecov/codecov-action@v2 - # with: - # token: ${{secrets.CODECOV_TOKEN}} - # file: /home/runner/work/mottai-flutter-app/mottai-flutter-app/packages/mottai_flutter_app/coverage/lcov.info - # fail_ci_if_error: true - # flags: unittests_mottai_flutter_app - # verbose: true