Skip to content

Commit

Permalink
Merge d553fdc into 707edcc
Browse files Browse the repository at this point in the history
  • Loading branch information
desistefanova committed May 26, 2023
2 parents 707edcc + d553fdc commit e17626e
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 7 deletions.
33 changes: 27 additions & 6 deletions .github/workflows/ci.yml
Expand Up @@ -102,7 +102,6 @@ jobs:
secrets: inherit
needs:
- deploy-dart-cluster
- create-dart-shared-apps
- dart-tests-windows
- dart-tests-macos
- dart-tests-macos-arm
Expand All @@ -120,7 +119,6 @@ jobs:
secrets: inherit
needs:
- deploy-flutter-cluster
- create-flutter-shared-apps
- flutter-desktop-tests-windows
- flutter-desktop-tests-macos
- flutter-desktop-tests-linux
Expand Down Expand Up @@ -478,7 +476,6 @@ jobs:
flutter drive --target=test_driver/app.dart --dart-define=testName="" --suppress-analytics --debug
working-directory: ./flutter/realm_flutter/tests


flutter-android:
runs-on: macos-latest
name: Android Flutter Tests
Expand Down Expand Up @@ -513,7 +510,7 @@ jobs:

# TODO: Move CI run tests on Android Emulator into device farm https://github.com/realm/realm-dart/issues/691
- name: Setup Android Emulator cache
uses: actions/cache@v3.0.4
uses: actions/cache@v3
id: avd-cache
with:
path: |
Expand Down Expand Up @@ -640,7 +637,7 @@ jobs:
- name: Publish Generator Coverage
if: matrix.os == 'ubuntu'
id: publish-coverage
uses: coverallsapp/github-action@a1a1a8a300a7e89df3630639df8fb23de5cc6368
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: generator
Expand All @@ -660,10 +657,34 @@ jobs:

- name: Coveralls Finished
id: publish-coverage
uses: coverallsapp/github-action@a1a1a8a300a7e89df3630639df8fb23de5cc6368
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true

- name: Output Coveralls response
run: echo ${{ steps.publish-coverage.outputs.coveralls-api-result }}

slack:
name: Slack
needs:
- cleanup-dart-matrix
- cleanup-flutter-matrix
runs-on: ubuntu-latest
if: always()
steps:
# run this action to get the workflow conclusion
# You can get the conclusion via env (env.WORKFLOW_CONCLUSION)
- uses: technote-space/workflow-conclusion-action@v3

# run other action with the workflow conclusion
- uses: act10ns/slack@v2
if: ${{ env.WORKFLOW_CONCLUSION }} == 'failure'
with:
# status: ${{ env.WORKFLOW_CONCLUSION }} # neutral, success, skipped, cancelled, timed_out, action_required, failure
status: failure
webhook-url: ${{ secrets.SLACK_DART_WEBHOOK }}
channel: '#realm-github-dart'
message: 'Realm Dart CI ${{ env.WORKFLOW_CONCLUSION }}: <https://github.com/realm/realm-dart/actions/runs/${{ github.run_id }}| Triggered by: ${{ github.event.head_commit.message }} >'


2 changes: 1 addition & 1 deletion .github/workflows/dart-desktop-tests.yml
Expand Up @@ -96,7 +96,7 @@ jobs:
- name: Publish realm_dart coverage
if: inputs.os == 'linux'
id: publish-coverage
uses: coverallsapp/github-action@a1a1a8a300a7e89df3630639df8fb23de5cc6368
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: realm_dart
Expand Down

0 comments on commit e17626e

Please sign in to comment.