mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-05-23 00:03:29 +08:00
chore: add coveralls action
This commit is contained in:
18
.github/workflows/tests_e2e.yml
vendored
18
.github/workflows/tests_e2e.yml
vendored
@@ -65,13 +65,13 @@ jobs:
|
||||
- name: Build Android App
|
||||
run: cd tests/android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug -Dorg.gradle.daemon=false
|
||||
|
||||
- name: Download Emulator Image
|
||||
run: |
|
||||
echo "y" | $ANDROID_HOME/tools/bin/sdkmanager --install "system-images;android-28;google_apis;x86" "platform-tools" "emulator"
|
||||
echo "no" | $ANDROID_HOME/tools/bin/avdmanager create avd --force --name TestingAVD --device "Nexus 4" -k 'system-images;android-28;google_apis;x86' -g google_apis
|
||||
$ANDROID_HOME/emulator/emulator -list-avds
|
||||
|
||||
# # TODO broken
|
||||
# - name: Download Emulator Image
|
||||
# run: |
|
||||
# echo "y" | $ANDROID_HOME/tools/bin/sdkmanager --install "system-images;android-28;google_apis;x86" "platform-tools" "emulator"
|
||||
# echo "no" | $ANDROID_HOME/tools/bin/avdmanager create avd --force --name TestingAVD --device "Nexus 4" -k 'system-images;android-28;google_apis;x86' -g google_apis
|
||||
# $ANDROID_HOME/emulator/emulator -list-avds
|
||||
#
|
||||
# - name: Start Android Emulator
|
||||
# timeout-minutes: 10
|
||||
# continue-on-error: true
|
||||
@@ -119,7 +119,7 @@ jobs:
|
||||
# See link below for available versions;
|
||||
# -> https://github.com/actions/virtual-environments/blob/master/images/macos/macos-10.15-Readme.md#xcode
|
||||
DEVELOPER_DIR: /Applications/Xcode_11.4.app
|
||||
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
with:
|
||||
@@ -196,6 +196,10 @@ jobs:
|
||||
./node_modules/.bin/nyc ./node_modules/.bin/detox test --configuration ios.ci --cleanup
|
||||
shell: bash
|
||||
|
||||
- name: Submit Coverage
|
||||
run: |
|
||||
./node_modules/.bin/codecov
|
||||
shell: bash
|
||||
# - name: Upload App
|
||||
# uses: actions/upload-artifact@v1
|
||||
# with:
|
||||
|
||||
Reference in New Issue
Block a user