-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #337 from GetStream/release/1.5.0
Release/1.5.0
- Loading branch information
Showing
58 changed files
with
1,473 additions
and
1,025 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ on: | |
- opened | ||
- edited | ||
- synchronize | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
main: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/bin/bash | ||
|
||
flutter pub global activate melos 0.4.0+1 | ||
flutter pub global activate melos | ||
echo "::add-path::$HOME/.pub-cache/bin" | ||
echo "::add-path::$GITHUB_WORKSPACE/_flutter/.pub-cache/bin" | ||
echo "::add-path::$GITHUB_WORKSPACE/_flutter/bin/cache/dart-sdk/bin" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,6 @@ on: | |
|
||
jobs: | ||
analyze: | ||
if: github.base_ref == 'master' | ||
timeout-minutes: 15 | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -48,28 +47,15 @@ jobs: | |
- name: 'Install Tools' | ||
run: | | ||
./.github/workflows/scripts/install-tools.sh | ||
curl -sL https://github.com/google/google-java-format/releases/download/google-java-format-1.3/google-java-format-1.3-all-deps.jar -o $HOME/google-java-format.jar | ||
- name: 'Bootstrap Workspace' | ||
run: melos bootstrap | ||
- name: 'Dart' | ||
run: | | ||
melos exec -c 1 -- \ | ||
flutter format . | ||
./.github/workflows/scripts/validate-formatting.sh | ||
- name: 'Objective-C' | ||
if: ${{ success() || failure() }} | ||
run: | | ||
melos exec -c 4 --ignore="*platform_interface*" --ignore="*web*" -- \ | ||
find . -maxdepth 3 -name "*.h" -o -name "*.m" -print0 \| xargs -0 clang-format -i --style=Google --verbose | ||
./.github/workflows/scripts/validate-formatting.sh | ||
- name: 'Java' | ||
if: ${{ success() || failure() }} | ||
run: | | ||
melos exec -c 4 --ignore="*platform_interface*" --ignore="*web*" -- \ | ||
find . -maxdepth 12 -name "*.java" -print0 \| xargs -0 java -jar $HOME/google-java-format.jar --replace | ||
./.github/workflows/scripts/validate-formatting.sh | ||
test_dart: | ||
test: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
|
@@ -79,26 +65,35 @@ jobs: | |
- name: 'Install Flutter' | ||
run: ./.github/workflows/scripts/install-flutter.sh stable | ||
- name: 'Install Tools' | ||
run: ./.github/workflows/scripts/install-tools.sh | ||
- name: 'Bootstrap Workspace' | ||
run: melos bootstrap | ||
- name: 'Flutter Test' | ||
run: cd packages/stream_chat && flutter pub run test | ||
|
||
test_flutter: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 15 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: 'Install Flutter' | ||
run: ./.github/workflows/scripts/install-flutter.sh stable | ||
- name: 'Install Tools' | ||
run: ./.github/workflows/scripts/install-tools.sh | ||
run: | | ||
./.github/workflows/scripts/install-tools.sh | ||
flutter pub global activate coverage | ||
- name: 'Bootstrap Workspace' | ||
run: melos bootstrap | ||
- name: 'Dart Test' | ||
run: | | ||
cd packages/stream_chat | ||
flutter pub run test --coverage coverage/ | ||
format_coverage --lcov --in=coverage/ --out=lcov.info --packages=.packages --report-on=lib | ||
- name: 'Flutter Test' | ||
run: | | ||
melos exec -c 3 --flutter --dir-exists=test --ignore="*example*" --ignore="*web*" -- \ | ||
flutter test | ||
flutter test --coverage | ||
- name: CodeCov | ||
run: bash <(curl -s https://codecov.io/bash) -t ${{ secrets.CODECOV_TOKEN }} | ||
- uses: VeryGoodOpenSource/[email protected] | ||
with: | ||
path: packages/stream_chat/lcov.info | ||
min_coverage: 50 | ||
- uses: VeryGoodOpenSource/[email protected] | ||
with: | ||
path: packages/stream_chat_persistence/coverage/lcov.info | ||
min_coverage: 0.2 | ||
- uses: VeryGoodOpenSource/[email protected] | ||
with: | ||
path: packages/stream_chat_flutter_core/coverage/lcov.info | ||
min_coverage: 4.5 | ||
- uses: VeryGoodOpenSource/[email protected] | ||
with: | ||
path: packages/stream_chat_flutter/coverage/lcov.info | ||
min_coverage: 16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,8 @@ | |
.atom/ | ||
.idea/ | ||
.vscode/ | ||
|
||
**/lcov.info | ||
coverage | ||
.packages | ||
.pub/ | ||
.dart_tool/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
## 1.5.0 | ||
|
||
- Minor fixes and improvements | ||
|
||
## 1.4.0-beta | ||
|
||
- Improved attachment uploading | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.