Skip to content

v1.2.3

v1.2.3 #118

Workflow file for this run

name: iOS Tests
on:
workflow_dispatch:
push:
branches: [ main ]
paths:
- '.github/workflows/ios-tests.yml'
- 'binding/ios/PicoLLMAppTest/**'
- 'resources/.test/**'
pull_request:
branches: [ main, 'v[0-9]+.[0-9]+' ]
paths:
- '.github/workflows/ios-tests.yml'
- 'binding/ios/PicoLLMAppTest/**'
- 'resources/.test/**'
defaults:
run:
working-directory: binding/ios/PicoLLMAppTest
jobs:
build:
name: Run iOS Tests
runs-on: pv-ios
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Inject AccessKey
run: sed -i '.bak' 's:{TESTING_ACCESS_KEY_HERE}:${{secrets.PV_VALID_ACCESS_KEY}}:'
PicoLLMAppTestUITests/BaseTest.swift
- name: Inject Resource URL
run: sed -i '.bak' 's?{TESTING_MODEL_URL_HERE}?http://${{secrets.PV_CICD_RES_SERVER_AUTHORITY}}/github/picollm/res/phi2-290.pllm/04-d5f2aa0/phi2-290.pllm?'
PicoLLMAppTestUITests/BaseTest.swift
- name: XCode Build
run: xcrun xcodebuild build-for-testing
-configuration Debug
-project PicoLLMAppTest.xcodeproj
-sdk iphoneos
-scheme PicoLLMAppTest
-derivedDataPath ddp
CODE_SIGNING_ALLOWED=NO
- name: Run Tests on Simulator
run: xcrun xcodebuild test
-project PicoLLMAppTest.xcodeproj
-scheme PicoLLMAppTest
-destination 'platform=iOS Simulator,name=iPhone 13,OS=16.4'