diff --git a/.circleci/config.yml b/.circleci/config.yml index 4846fb669d3..b9f77a6ede7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -597,27 +597,6 @@ jobs: name: Build the template application command: cd template/android/ && ./gradlew assembleDebug - # ------------------------- - # JOBS: Test Docker - # ------------------------- - test_docker_android: - machine: - image: ubuntu-2004:202010-01 - steps: - - checkout - - run: - name: Configure Node - command: | - source ~/.bashrc - nvm i node - echo y | npx envinfo@latest - - run: - name: Pulls down the React Native Community Android Docker image - command: npm run docker-setup-android - - run: - name: Builds the Docker image with a compiled instance of the test app - command: npm run docker-build-android - # ------------------------- # JOBS: Windows # ------------------------- @@ -855,10 +834,6 @@ workflows: filters: branches: ignore: gh-pages - - test_docker_android: - filters: - branches: - ignore: gh-pages - test_windows: filters: branches: diff --git a/.github/workflows/test-docker-android.yml b/.github/workflows/test-docker-android.yml new file mode 100644 index 00000000000..8aec07427d4 --- /dev/null +++ b/.github/workflows/test-docker-android.yml @@ -0,0 +1,19 @@ +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