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

name: Test Docker Android Image
# This workflow is triggered on commits to main and pull requests.
on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

jobs:
  test-docker-android:
    name: Test Docker
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Free up space by removing unnecessary folders
        run: |
          sudo rm -rf /usr/share/dotnet
          sudo rm -rf /opt/ghc
          sudo rm -rf "$AGENT_TOOLSDIRECTORY"
      - name: Build Docker image with Android test app
        run: npm run docker-build-android

Fix broken Test Docker Android
Fix broken Test Docker Android

Summary:
Test Docker Android is failing with `No space left on device`
I've fixed it by freeing up some space on the runner.

I'm looking into potentially removing this job entirely as I believe it's not
really helpful at the moment.

Changelog:
[Internal] [Changed] - Fix broken Test Docker Android

Reviewed By: ShikaSD

Differential Revision: D35013831

fbshipit-source-id: 594e65fa05c7dfc8b5acfde88658b341d26aa586
