Skip to content

Commit

Permalink
Publish Test Report from flutter integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko committed Jan 25, 2024
1 parent 064e74e commit 0fd9cce
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,16 @@ jobs:
--suppress-analytics
working-directory: ./flutter/realm_flutter/tests

- name: Publish Test Report
uses: dorny/[email protected]
if: success() || failure()
with:
name: Test Results Flutter iOS
path: test-results.json
reporter: dart-json
only-summary: true
working-directory: ./flutter/realm_flutter/tests

cleanup-cluster-flutter-ios:
name: Cleanup Cluster for Flutter iOS
uses: ./.github/workflows/terminate-baas.yml
Expand Down Expand Up @@ -427,6 +437,16 @@ jobs:
script: flutter test integration_test/all_tests.dart --dart-define=BAAS_BAASAAS_API_KEY=$BAAS_BAASAAS_API_KEY --dart-define=BAAS_DIFFERENTIATOR=$BAAS_DIFFERENTIATOR --file-reporter=json:test-results.json --suppress-analytics
working-directory: ./flutter/realm_flutter/tests

- name: Publish Test Report
uses: dorny/[email protected]
if: success() || failure()
with:
name: Test Results Flutter Android
path: test-results.json
reporter: dart-json
only-summary: true
working-directory: ./flutter/realm_flutter/tests

cleanup-cluster-flutter-android:
name: Cleanup Cluster for Flutter Android
uses: ./.github/workflows/terminate-baas.yml
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/flutter-desktop-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,13 @@ jobs:
--suppress-analytics
shell: bash
working-directory: ./flutter/realm_flutter/tests

- name: Publish Test Report
uses: dorny/[email protected]
if: success() || failure()
with:
name: Test Results Flutter ${{ inputs.os }} ${{ inputs.architecture }}
path: test-results.json
reporter: dart-json
only-summary: true
working-directory: ./flutter/realm_flutter/tests

0 comments on commit 0fd9cce

Please sign in to comment.