Skip to content

Commit

Permalink
feat: expo app (#61)
Browse files Browse the repository at this point in the history
* add flashlist

* e2e fix(1)

* e2e fix(2) bundle install fix

* e2e fix(2) bundle install fix

* e2e fix(3) install java version 17

* e2e fix(3) install java version 17

* remove test warnings

* increase to api-level 33 e2e test

* maestro cloud addition to e2e testing in ci/cd

* maestro cloud addition to e2e testing in ci/cd 2

* maestro cloud addition to e2e testing in ci/cd 3

* maestro cloud addition to e2e testing in ci/cd 4

* create .gradle folder and global properties

* correct working folder for android activities

* correct working folder for android activities

* correct working folder for android activities

* correct app-file

* correct app-file

* initial build_ios + correct app-file destin.

* initial build_ios + correct app-file destin.

* correct xcode version

* correct xcode version

* correct xcode version

* correct xcode version

* correct xcode version

* build android unified in one job

* splitting expo/rn cli

* moving the essence around

* moving the essence around

* packages

* rn cli works too

* metro configs

* expo working with tests config is wip

* expo router example blog app

* simple render test throws an error wip

* react-test-renderer addition deps.

* wip same rn version

* android folder add whoopsie

* initial app test walkthrough

* minimal sanity check tests expo proj

* github actions update and eslint

* correct yarn workspace root test script

* sonar-project.properties moved to root

* sonar-project.properties folders update

* entery file and remove unused libs

* wip
  • Loading branch information
vanGalilea authored Feb 1, 2024
1 parent 14705b5 commit b64c9cf
Show file tree
Hide file tree
Showing 213 changed files with 155,762 additions and 2,388 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EXPO_USE_METRO_WORKSPACE_ROOT=1
52 changes: 27 additions & 25 deletions .github/workflows/e2e-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,33 @@ jobs:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
check-latest: true

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Run Yarn Install
run: yarn install

- name: Build Release APK
run: cd android && ./gradlew assembleRelease

- name: Upload to Maestro Cloud
uses: mobile-dev-inc/[email protected]
with:
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
app-file: /home/runner/work/react-native-testing/react-native-testing/android/app/build/outputs/apk/release/app-release.apk
run: echo "To be implemented"
# gradlew assembleRelease currently fails due to monorepo structure
# - uses: actions/checkout@v3
#
# - name: Set up JDK 17
# uses: actions/setup-java@v3
# with:
# distribution: 'zulu'
# java-version: '17'
# check-latest: true
#
# - name: Setup Node
# uses: actions/setup-node@v3
# with:
# node-version: '18'
#
# - name: Run Yarn Install
# run: yarn install
#
# - name: Build Release APK
# run: cd apps/rn-cli-app/android/ && ./gradlew assembleRelease
#
# - name: Upload to Maestro Cloud
# uses: mobile-dev-inc/[email protected]
# with:
# api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
# app-file: app/build/outputs/apk/debug/app-debug.apk

build_ios:
name: Build IOS
Expand Down
21 changes: 17 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ DerivedData
*.hmap
*.ipa
*.xcuserstate
ios/.xcode.env.local
**/ios/.xcode.env.local

# Android/IntelliJ
#
Expand Down Expand Up @@ -56,11 +56,24 @@ yarn-error.log
*.jsbundle

# Ruby / CocoaPods
/ios/Pods/
/vendor/bundle/
**/ios/Pods/
**/vendor/bundle/

# Temporary files created by Metro to check the health of the file watcher
.metro-health-check*

# testing
/coverage
**/coverage

*.env

# Expo
**/.expo/
**/dist/
**/web-build/

# @generated expo-cli sync-2b81b286409207a5da26e14c78851eb30d8ccbdb
# The following patterns were generated by expo-cli

**/expo-env.d.ts
# @end expo-cli
Loading

0 comments on commit b64c9cf

Please sign in to comment.