mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
3220029514
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
24 lines
594 B
YAML
24 lines
594 B
YAML
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
|