From da036f4e7fff9a05bd9110ef8a4df5380218b876 Mon Sep 17 00:00:00 2001 From: Frieder Bluemle Date: Mon, 4 May 2020 15:12:38 -0700 Subject: [PATCH] Update CI - Limit extended Node.js tests to Linux - Auto select OS for iOS simulator on CI --- .github/workflows/ci.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8171d6c0..a156fba7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,8 +4,13 @@ jobs: build: strategy: matrix: - node: [10.x, 12.x] + node: [12] os: [ubuntu-latest, macos-latest, windows-latest] + include: + - node: 10 + os: ubuntu-latest + - node: 14 + os: ubuntu-latest runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 @@ -34,4 +39,4 @@ jobs: - run: yarn - name: Run iOS tests working-directory: ./ios - run: xcodebuild -project "ElectrodeReactNativeBridge.xcodeproj" -scheme "ElectrodeReactNativeBridgeTests" -destination "platform=iOS Simulator,name=iPhone 8,OS=13.4.1" test + run: xcodebuild -project "ElectrodeReactNativeBridge.xcodeproj" -scheme "ElectrodeReactNativeBridgeTests" -destination "platform=iOS Simulator,name=iPhone 8" test