mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
232d02c5f6
Summary: The test_docker_android job on Circle CI has a simple function: verify the base community RN Android image can be downloaded, and verify that we can use it to build a container with a compiled Android test app. Since the job is not strictly running a suite of tests, it can be moved to GitHub Actions. It will run on GitHub Actions as a Check on commits to main and pull requests. As building the test image requires the use of the base React Native Android image, we can skip downloading the base container and go straight to building the test image. Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D31521978 fbshipit-source-id: ca8372a1464054e37f2da28a3ecfbc8f84db0408
20 lines
429 B
YAML
20 lines
429 B
YAML
name: Test Docker Android Image
|
|
# This workflow is triggered on commits to main and pull requests.
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
types: [ synchronize ]
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
test-docker-android:
|
|
name: Test Docker
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Build Docker image with Android test app
|
|
run: npm run docker-build-android
|