Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @splitio/sdk
41 changes: 27 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,58 +4,71 @@ on:
branches:
- main
- development
- '**_baseline'

jobs:
build-android:
name: Build Android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
- uses: actions/checkout@v3.5.2
- uses: actions/setup-java@v3.11.0
with:
distribution: 'temurin'
java-version: '11'
- uses: subosito/flutter-action@v2
- uses: subosito/flutter-action@v2.10.0
with:
channel: 'stable'
- name: Build example app APK
run: cd example; flutter build apk
run: cd splitio/example; flutter build apk

test-android:
name: Test Android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v2
- uses: actions/checkout@v3.5.2
- uses: actions/setup-java@v3.11.0
with:
distribution: 'temurin'
java-version: '11'
- uses: subosito/flutter-action@v2
- uses: subosito/flutter-action@v2.10.0
with:
channel: 'stable'
- name: Run Pub Get
run: flutter pub get
run: cd splitio/; flutter pub get
- name: Build Android
run: flutter build
run: cd splitio/example/android/; flutter build apk
- name: Run Android test
run: cd example/android/; gradle :splitio:testReleaseUnitTest;
run: cd splitio/example/android/; ./gradlew :splitio:testReleaseUnitTest;

build-ios:
name: Build iOS
runs-on: [ macos-latest ]

steps:
- uses: actions/[email protected]
- uses: subosito/[email protected]
with:
channel: 'stable'
- name: Run Build iOS
run: cd splitio/example/ios; flutter build ios --no-codesign;

test-ios:
name: Test iOS
runs-on: [ macos-latest ]

steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
- uses: actions/checkout@v3.5.2
- uses: subosito/flutter-action@v2.10.0
with:
channel: 'stable'
- name: Run Build iOS
run: cd example/ios/; flutter build ios --no-codesign;
run: cd splitio_ios/example/; flutter build ios --no-codesign;

- name: Select Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 13.2.1

- name: ios
run: cd example/ios/; xcodebuild test -workspace "Runner.xcworkspace" -scheme "Runner" -destination "platform=iOS Simulator,name=iPhone 12,OS=latest" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO;
run: cd splitio_ios/example/ios; xcodebuild test -workspace "Runner.xcworkspace" -scheme "Runner" -destination "platform=iOS Simulator,name=iPhone 12,OS=latest" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO;
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
with:
channel: 'stable'
- name: Run Pub Get
run: flutter pub get
run: cd splitio/; flutter pub get
- name: Run flutter test
run: flutter test
run: cd splitio/; flutter test
13 changes: 0 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,3 @@
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
/pubspec.lock
**/doc/api/
.dart_tool/
.packages
build/
12 changes: 0 additions & 12 deletions CHANGELOG.md

This file was deleted.

This file was deleted.

29 changes: 0 additions & 29 deletions example/ios/Podfile.lock

This file was deleted.

41 changes: 0 additions & 41 deletions example/ios/SplitTests/SplitClientConfigHelperTests.swift

This file was deleted.

84 changes: 0 additions & 84 deletions example/pubspec.yaml

This file was deleted.

38 changes: 0 additions & 38 deletions lib/channel/method_channel_manager.dart

This file was deleted.

Loading