Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
70 changes: 66 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ executors:
resource_class: m4pro.medium

jobs:
test-android:
test-rn-webcrypto-android:
executor:
name: android/android_machine
resource_class: large
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
path: packages/react-native-webcrypto-bridge/android/build/reports
destination: android-test-reports

test-ios:
test-rn-webcrypto-ios:
executor: macos
steps:
- checkout
Expand Down Expand Up @@ -80,9 +80,71 @@ jobs:
path: packages/react-native-webcrypto-bridge/ios/.build
destination: ios-build-artifacts

test-rn-platform-android:
executor:
name: android/android_machine
resource_class: large
tag: default
steps:
- checkout

- restore_cache:
keys:
- gradle-rn-platform-{{ checksum "packages/react-native-platform/android/build.gradle" }}
- gradle-rn-platform-

- run:
name: Run React Native Platform Android Tests
command: |
cd packages/react-native-platform/android
./gradlew testDebugUnitTest --info

- save_cache:
key: gradle-rn-platform-{{ checksum "packages/react-native-platform/android/build.gradle" }}
paths:
- ~/.gradle
- .gradle

- store_test_results:
path: packages/react-native-platform/android/build/test-results

- store_artifacts:
path: packages/react-native-platform/android/build/reports
destination: react-native-platform-android-test-reports

test-rn-platform-ios:
executor: macos
steps:
- checkout

- restore_cache:
keys:
- swift-spm-rn-platform-{{ checksum "packages/react-native-platform/ios/Package.swift" }}
- swift-spm-rn-platform-

- run:
name: Run React Native Platform iOS Tests
command: |
cd packages/react-native-platform/ios
swift test --verbose

- save_cache:
key: swift-spm-rn-platform-{{ checksum "packages/react-native-platform/ios/Package.swift" }}
paths:
- packages/react-native-platform/ios/.build

- store_test_results:
path: packages/react-native-platform/ios/.build/test-results

- store_artifacts:
path: packages/react-native-platform/ios/.build
destination: react-native-platform-ios-build-artifacts

workflows:
version: 2
build_and_test:
jobs:
- test-android
- test-ios
- test-rn-webcrypto-android
- test-rn-webcrypto-ios
- test-rn-platform-android
- test-rn-platform-ios
1 change: 1 addition & 0 deletions e2e/apps/react-native-oidc/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default ({ config }: ConfigContext) => ({
extra: {
env
},
newArchEnabled: true,
"android": {
"package": "com.anonymous.reporeactnativeoidc"
},
Expand Down
45 changes: 0 additions & 45 deletions e2e/apps/react-native-oidc/app/(login)/_layout.tsx

This file was deleted.

85 changes: 0 additions & 85 deletions e2e/apps/react-native-oidc/app/(login)/index.tsx

This file was deleted.

106 changes: 0 additions & 106 deletions e2e/apps/react-native-oidc/app/(login)/token.tsx

This file was deleted.

15 changes: 11 additions & 4 deletions e2e/apps/react-native-oidc/app/(tabs)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,22 @@ export default function TabLayout() {
<Tabs.Screen
name="index"
options={{
title: 'Home',
title: 'Login',
tabBarIcon: ({ color }) => <IconSymbol size={28} name="house.fill" color={color} />,
}}
/>
<Tabs.Screen
name="explore"
name="credentials"
options={{
title: 'Explore',
tabBarIcon: ({ color }) => <IconSymbol size={28} name="paperplane.fill" color={color} />,
title: 'Creds',
tabBarIcon: ({ color }) => <IconSymbol size={28} name="list.bullet" color={color} />,
}}
/>
<Tabs.Screen
name="token"
options={{
title: 'Token',
tabBarIcon: ({ color }) => <IconSymbol size={28} name="lock.document.fill" color={color} />,
}}
/>
</Tabs>
Expand Down
Loading