Skip to content

Commit

Permalink
add docker test to circle-ci (#24375)
Browse files Browse the repository at this point in the history
Summary:
add docker related test to ci (only build part), prevent future regression like #24360

[General] [Added] - add docker related test to ci
Pull Request resolved: #24375

Differential Revision: D14865224

Pulled By: hramos

fbshipit-source-id: 8fbc2935b0479c362a0fb68022a1157ff68b0325
  • Loading branch information
gengjiawen authored and facebook-github-bot committed Apr 10, 2019
1 parent 65d6c3f commit 6a3e799
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ js_defaults: &js_defaults
android_defaults: &android_defaults
<<: *defaults
docker:
- image: reactnativecommunity/react-native-android:2019-1-19
- image: reactnativecommunity/react-native-android:2019-1-19
resource_class: "large"
environment:
- TERM: "dumb"
Expand Down Expand Up @@ -508,6 +508,23 @@ jobs:
- store_test_results:
path: ~/react-native/reports/junit

# -------------------------
# JOBS: Test Docker Build
# -------------------------
test_docker_build:
machine: true
steps:
- checkout
- run:
name: Build Docker container for Android RNTester App
command: |
source ~/.bashrc
nvm i node
npm i -g yarn
npx envinfo@latest
yarn run docker-setup-android
yarn run docker-build-android
# -------------------------
# JOBS: Coverage
# -------------------------
Expand Down Expand Up @@ -591,6 +608,7 @@ workflows:
- test_android: *run-after-checkout
- test_ios: *run-after-checkout
- test_detox_end_to_end: *run-after-checkout
- test_docker_build

releases:
jobs:
Expand Down

0 comments on commit 6a3e799

Please sign in to comment.