Skip to content

Commit 7187fd2

Browse files
authored
0.1.2
2 parents 23c1547 + 7997117 commit 7187fd2

File tree

215 files changed

+6381
-1018
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

215 files changed

+6381
-1018
lines changed

.github/workflows/build.yml

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
branches:
55
- main
66
- development
7+
- '**_baseline'
78

89
jobs:
910
build-android:
@@ -13,22 +14,61 @@ jobs:
1314
- uses: actions/checkout@v3
1415
- uses: actions/setup-java@v2
1516
with:
16-
distribution: 'zulu'
17+
distribution: 'temurin'
1718
java-version: '11'
1819
- uses: subosito/flutter-action@v2
1920
with:
2021
channel: 'stable'
2122
- name: Build example app APK
22-
run: cd example; flutter build apk
23+
run: cd splitio/example; flutter build apk
24+
25+
test-android:
26+
name: Test Android
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v3
30+
- uses: actions/setup-java@v2
31+
with:
32+
distribution: 'temurin'
33+
java-version: '11'
34+
- uses: subosito/flutter-action@v2
35+
with:
36+
channel: 'stable'
37+
- name: Run Pub Get
38+
run: cd splitio/; flutter pub get
39+
- name: Build Android
40+
run: cd splitio/; flutter build
41+
- name: Run Android test
42+
run: cd splitio/example/android/; gradle :splitio:testReleaseUnitTest;
2343

2444
build-ios:
2545
name: Build iOS
26-
runs-on: macos-latest
46+
runs-on: [ macos-latest ]
47+
2748
steps:
2849
- uses: actions/checkout@v3
2950
- uses: subosito/flutter-action@v2
3051
with:
3152
channel: 'stable'
32-
architecture: x64
33-
- name: Build example app iOS
34-
run: cd example; flutter build ios --release --no-codesign
53+
- name: Run Build iOS
54+
run: cd splitio/example/ios; flutter build ios --no-codesign;
55+
56+
test-ios:
57+
name: Test iOS
58+
runs-on: [ macos-latest ]
59+
60+
steps:
61+
- uses: actions/checkout@v3
62+
- uses: subosito/flutter-action@v2
63+
with:
64+
channel: 'stable'
65+
- name: Run Build iOS
66+
run: cd splitio_ios/example/; flutter build ios --no-codesign;
67+
68+
- name: Select Xcode
69+
uses: maxim-lobanov/setup-xcode@v1
70+
with:
71+
xcode-version: 13.2.1
72+
73+
- name: ios
74+
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;

.github/workflows/test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ on:
55
- '*'
66

77
jobs:
8-
build-android:
9-
name: Build Android
8+
test-dart:
9+
name: Test dart
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-java@v2
1414
with:
15-
distribution: 'zulu'
15+
distribution: 'temurin'
1616
java-version: '11'
1717
- uses: subosito/flutter-action@v2
1818
with:
1919
channel: 'stable'
2020
- name: Run Pub Get
21-
run: flutter pub get
21+
run: cd splitio/; flutter pub get
2222
- name: Run flutter test
23-
run: flutter test
23+
run: cd splitio/; flutter test

.gitignore

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,3 @@
1414
*.ipr
1515
*.iws
1616
.idea/
17-
18-
# The .vscode folder contains launch configuration and tasks you configure in
19-
# VS Code which you may wish to be included in version control, so this line
20-
# is commented out by default.
21-
#.vscode/
22-
23-
# Flutter/Dart/Pub related
24-
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
25-
/pubspec.lock
26-
**/doc/api/
27-
.dart_tool/
28-
.packages
29-
build/

CHANGELOG.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

LICENSE

Lines changed: 0 additions & 201 deletions
This file was deleted.

0 commit comments

Comments
 (0)