summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2021-02-02 14:02:52 -0500
committerJoel Fischer <joeljfischer@gmail.com>2021-02-02 14:02:52 -0500
commit9587e3734ab6c4d0f0bbf026221e58c2bd8a3eea (patch)
treecc67c2c81233a93afef0b002b627fc800b1b0433
parent8b1bc1f9ba4df6a722c58ed376dff9fd0f28444c (diff)
downloadsdl_ios-bugfix/issue-1884-fix-ci-on-master.tar.gz
Update test.yml to match develop and update to use boostrapbugfix/issue-1884-fix-ci-on-master
-rw-r--r--.github/workflows/test.yml28
1 files changed, 22 insertions, 6 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 0b7318596..cd9d4ae58 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -5,7 +5,7 @@ on: [push, pull_request]
env:
PROJECT: 'SmartDeviceLink-iOS.xcodeproj'
- DESTINATION: 'platform=iOS Simulator,name=iPhone 11,OS=14.1'
+ DESTINATION: 'platform=iOS Simulator,name=iPhone 12,OS=14.4'
jobs:
build:
@@ -27,7 +27,7 @@ jobs:
# Select the Xcode version (the platform/simulator/OS available for testing depend on the Xcode version)
- name: Select Xcode version
- run: sudo xcode-select -switch /Applications/Xcode_12.1.app
+ run: sudo xcode-select -switch /Applications/Xcode_12.4.app
- name: Build
run: set -o pipefail && xcodebuild -scheme "${{ matrix.scheme }}" -destination "$DESTINATION" build | xcpretty --color --simple
@@ -46,7 +46,7 @@ jobs:
# Select the Xcode version (the platform/simulator/OS available for testing depend on the Xcode version)
- name: Select Xcode version
- run: sudo xcode-select -switch /Applications/Xcode_12.1.app
+ run: sudo xcode-select -switch /Applications/Xcode_12.4.app
- name: Checkout repository
uses: actions/checkout@v2.3.1
@@ -63,8 +63,7 @@ jobs:
- name: Installing dependencies
if: steps.carthage-cache.outputs.cache-hit != 'true'
- run: bash carthage-build.sh --no-use-binaries --platform iOS --cache-builds
- # run: carthage bootstrap --no-use-binaries --platform iOS --cache-builds
+ run: bash carthage-build.sh bootstrap --no-use-binaries --platform ios --cache-builds
# Split build into build-only and test-only as it is faster than building and running in one step
- name: Building unit tests
@@ -76,5 +75,22 @@ jobs:
# Upload coverage reports to Codecov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1.0.10
- with:
+ with:
yml: ./codecov.yml
+
+ rpcTest:
+ name: RPC Generator Tests
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v2.3.1
+ with:
+ submodules: true
+
+ - name: Install dependencies
+ run: python3 -m pip install -r generator/requirements.txt
+
+ - name: Run RPC generator tests
+ run: python3 generator/test/runner.py