From ee744a503433b9fbed4e32ddbe02d42148bdcca1 Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Tue, 20 Feb 2024 11:46:44 -0800 Subject: [PATCH] auto --- .github/workflows/tests.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 18c8275e..e1bd10ca 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -111,21 +111,9 @@ jobs: URL="https://github.com/sonos/dinghy/releases/download/${VERSION}/cargo-dinghy-macos-${VERSION}.tgz" wget -O - $URL | tar -xz --strip-components=1 -C ~/.cargo/bin cargo dinghy --version - - name: Setup Simulator - # Use the first installed iOS runtime and the first (i.e. oldest) supported iPhone device. - run: | - RUNTIME=$(xcrun simctl list runtimes --json | jq '.runtimes | map(select(.name | contains("iOS"))) | .[0]') - RUNTIME_ID=$(echo $RUNTIME | jq -r '.identifier') - echo "Using runtime:" $RUNTIME_ID - DEVICE_ID=$(echo $RUNTIME | jq -r '.supportedDeviceTypes | map(select(.productFamily == "iPhone")) | .[0].identifier') - echo "Using device:" $DEVICE_ID - SIM_ID=$(xcrun simctl create Test-iPhone $DEVICE_ID $RUNTIME_ID) - echo "Created simulator:" $SIM_ID - xcrun simctl boot $SIM_ID - echo "device=$SIM_ID" >> $GITHUB_ENV - uses: Swatinem/rust-cache@v2 - name: Run tests - run: cargo dinghy -p ${{ matrix.ios_platform }} -d ${{ env.device }} test + run: cargo dinghy -p ${{ matrix.ios_platform }} test windows-tests: name: Windows Test