Skip to content

ci: uci/copy-templates (#278) #179

ci: uci/copy-templates (#278)

ci: uci/copy-templates (#278) #179

Workflow file for this run

name: ci
env:
CI: true
FORCE_COLOR: 1
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
test-react-native-android:

Check failure on line 14 in .github/workflows/test-android.yml

View workflow run for this annotation

GitHub Actions / ci

Invalid workflow file

The workflow is not valid. .github/workflows/test-android.yml (Line: 14, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: macos-latest
needs: check
continue-on-error: true
steps:
- uses: actions/checkout@v2
- run: npm install
- uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
target: default
arch: x86_64
profile: pixel
avd-name: aegir-android-29
script: |
npx aegir test -t react-native-android
# test-react-native-ios:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v2
# - run: npm install
# - name: Create and run iOS simulator
# run: |
# SIMULATOR_RUNTIME=$(echo "iOS 14.4" | sed 's/[ \.]/-/g')
# SIMULATOR_ID=$(xcrun simctl create "iPhone 11" com.apple.CoreSimulator.SimDeviceType.iPhone-11 com.apple.CoreSimulator.SimRuntime.$SIMULATOR_RUNTIME)
# echo "IOS_SIMULATOR=$SIMULATOR_ID" >> $GITHUB_ENV
# xcrun simctl boot $SIMULATOR_ID &
# - run: npx rn-test --platform ios --simulator 'iPhone 11 (14.4)' --rn 0.62.0 'test/**/*.spec.js'
# - name: Shutdown iOS simulator
# run: |
# xcrun simctl shutdown $IOS_SIMULATOR