Skip to content

Commit

Permalink
もとの箇所でエラーを起こしたので修正
Browse files Browse the repository at this point in the history
  • Loading branch information
narunblog committed Jul 31, 2023
1 parent ed7b3d6 commit 6ad561f
Showing 1 changed file with 34 additions and 16 deletions.
50 changes: 34 additions & 16 deletions .github/workflows/flutter_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,6 @@ jobs:
# テストを実行
- name: Run Flutter Test by melos
run: melos exec --sdk-path=${{ runner.tool_cache }}/flutter -- "flutter test --machine --coverage > test-report.log"

# 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
Expand All @@ -81,3 +65,37 @@ 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

0 comments on commit 6ad561f

Please sign in to comment.