Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test github actions #2706

Closed
wants to merge 41 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
b24fa3b
test
DordeDimitrijev Jun 10, 2024
57cb3b8
change gradle-action config
DordeDimitrijev Jun 10, 2024
fb7b473
Bump api version
DordeDimitrijev Jun 17, 2024
82bcbbe
Change java version to 8
DordeDimitrijev Jun 17, 2024
4492590
setup java first
DordeDimitrijev Jun 17, 2024
c6658ee
setup java first
DordeDimitrijev Jun 17, 2024
213617a
use java 8
DordeDimitrijev Jun 17, 2024
3797c57
bump
DordeDimitrijev Jun 17, 2024
0cc265f
test java version
DordeDimitrijev Jun 17, 2024
1e6ce08
test
DordeDimitrijev Jun 17, 2024
28c9ec1
Use java 11
DordeDimitrijev Jun 17, 2024
1cd0dda
revert api-level
DordeDimitrijev Jun 17, 2024
0aa12fe
revert run command
DordeDimitrijev Jun 17, 2024
6634269
user java 8 coreto
DordeDimitrijev Jun 17, 2024
f8cf8a0
fix java version of coretto
DordeDimitrijev Jun 17, 2024
27f633a
Use java 8 temurin
DordeDimitrijev Jun 17, 2024
ad2db73
Use zulu java distribution
DordeDimitrijev Jun 17, 2024
62d9386
User java 8 zulu version
DordeDimitrijev Jun 17, 2024
eec40cc
use macos-13 runner
DordeDimitrijev Jun 17, 2024
04fc2fc
user java 8 on runner
DordeDimitrijev Jun 17, 2024
2fdd53a
Add java env variable
DordeDimitrijev Jun 17, 2024
312a9f2
Add path to java 8
DordeDimitrijev Jun 17, 2024
a0639fa
Update env
DordeDimitrijev Jun 17, 2024
1bdc101
Set env variable
DordeDimitrijev Jun 17, 2024
a8864d7
Check java version
DordeDimitrijev Jun 18, 2024
25f50be
Fix typo
DordeDimitrijev Jun 18, 2024
274d2bc
Revert java env changes
DordeDimitrijev Jun 18, 2024
294b5f0
Add java step with java 8 version
DordeDimitrijev Jun 18, 2024
ba0acf4
Add distribution for java step
DordeDimitrijev Jun 18, 2024
c89d947
Use 2 types of java versions
DordeDimitrijev Jun 18, 2024
82cedea
Add automatic cocoapods usage
DordeDimitrijev Jun 19, 2024
11477f4
Enable corepack
DordeDimitrijev Jun 19, 2024
8787496
Use macos-13 runner for IOS
DordeDimitrijev Jun 19, 2024
e4d774e
Add step for installing cocoapods
DordeDimitrijev Jun 19, 2024
25f11ef
Try out macos-12 image
DordeDimitrijev Jun 20, 2024
4354e7b
Check manual install cocoapods
DordeDimitrijev Jun 20, 2024
684880a
Test cocoapods manual install
DordeDimitrijev Jun 20, 2024
c3b4a7c
Revert test.ts changes and use macos-12 for ios
DordeDimitrijev Jun 20, 2024
13825c7
check single failing test android
DordeDimitrijev Jun 20, 2024
14a80a3
Update pckg json test file
DordeDimitrijev Jun 20, 2024
99d55c4
set timeout
DmitriyKirakosyan Jun 21, 2024
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
13 changes: 7 additions & 6 deletions .github/workflows/react-native-code-push-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ on:
jobs:
test-android:
name: Test Android app
runs-on: macos-latest
runs-on: macOS-12
timeout-minutes: 90
strategy:
matrix:
api-level: [ 27 ]
Expand All @@ -18,7 +19,7 @@ jobs:
- name: Start adb server
run: adb devices
- name: Gradle cache
uses: gradle/gradle-build-action@v2
uses: gradle/actions/setup-gradle@v3
- name: Download system image "android-${{ matrix.api-level }}"
run: $ANDROID_HOME/tools/bin/sdkmanager "system-images;android-${{ matrix.api-level }};google_apis;x86"
- name: Create android emulator
Expand All @@ -30,10 +31,10 @@ jobs:
- run: adb shell settings put global window_animation_scale 0.0
- run: adb shell settings put global transition_animation_scale 0.0
- run: adb shell settings put global animator_duration_scale 0.0
- name: Setup Java
- name: Setup Java for Android build
uses: actions/setup-java@v3
with:
distribution: 'microsoft'
distribution: microsoft
java-version: '11'
- name: Setup Ruby
uses: ruby/setup-ruby@v1
Expand All @@ -45,11 +46,11 @@ jobs:
- name: Setup Android tests
run: npm run build:tests && npm run test:setup:android
- name: Run Android test
run: npm run test:fast:android
run: npm run test:fast:android

test-iOS:
name: Test iOS app
runs-on: macos-latest
runs-on: macOS-12
env:
NO_FLIPPER: ${{ secrets.NO_FLIPPER }}
steps:
Expand Down
5 changes: 5 additions & 0 deletions react-native.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
module.exports = {
project:{
ios:{
automaticPodsInstallation:true
}
},
dependency: {
platforms: {
android: {
Expand Down
Empty file added t
Empty file.
Loading