From 866a1a4964342460f81abfd5216018aec91c32aa Mon Sep 17 00:00:00 2001 From: Ian Date: Thu, 11 Aug 2022 16:51:18 -0700 Subject: [PATCH] update actions --- .github/workflows/android-appcenter.yml | 4 ++-- .github/workflows/ios-appcenter.yml | 24 ++++++++++++------------ .github/workflows/ios-perf.yml | 24 ++++++++++++------------ .github/workflows/python-perf.yml | 2 +- .github/workflows/python.yml | 2 +- .github/workflows/web.yml | 2 +- 6 files changed, 29 insertions(+), 29 deletions(-) diff --git a/.github/workflows/android-appcenter.yml b/.github/workflows/android-appcenter.yml index c4c2beb..bd4974f 100644 --- a/.github/workflows/android-appcenter.yml +++ b/.github/workflows/android-appcenter.yml @@ -3,14 +3,14 @@ name: Android AppCenter Tests on: workflow_dispatch: push: - branches: [ main, v1.2 ] + branches: [ main ] paths: - 'demo/android/OctopusDemo/**' - '!demo/android/OctopusDemo/README.md' - '.github/workflows/android-appcenter.yml' pull_request: - branches: [ main, v1.2 ] + branches: [ main ] paths: - 'demo/android/OctopusDemo/**' - '!demo/android/OctopusDemo/README.md' diff --git a/.github/workflows/ios-appcenter.yml b/.github/workflows/ios-appcenter.yml index e964a0e..329b0b0 100644 --- a/.github/workflows/ios-appcenter.yml +++ b/.github/workflows/ios-appcenter.yml @@ -3,20 +3,20 @@ name: iOS AppCenter Tests on: workflow_dispatch: push: - branches: [ main, v1.2 ] - paths: + branches: [ main ] + paths: - 'binding/ios/OctopusAppTest/Podfile.lock' - '.github/workflows/ios-appcenter.yml' pull_request: - branches: [ main, v1.2 ] - paths: + branches: [ main ] + paths: - 'binding/ios/OctopusAppTest/Podfile.lock' - '.github/workflows/ios-appcenter.yml' - + defaults: run: working-directory: binding/ios/OctopusAppTest - + jobs: build: name: Run iOS Tests on AppCenter @@ -50,19 +50,19 @@ jobs: OctopusAppTestUITests/OctopusAppTestUITests.swift - name: XCode Build - run: xcrun xcodebuild build-for-testing - -configuration Debug + run: xcrun xcodebuild build-for-testing + -configuration Debug -workspace OctopusAppTest.xcworkspace - -sdk iphoneos + -sdk iphoneos -scheme OctopusAppTest -derivedDataPath ddp CODE_SIGNING_ALLOWED=NO - name: Run Tests on AppCenter - run: appcenter test run xcuitest + run: appcenter test run xcuitest --token ${{secrets.APPCENTERAPITOKEN}} --app "Picovoice/Octopus-iOS" - --devices "Picovoice/ios-min-max" + --devices "Picovoice/ios-min-max" --test-series "octopus-ios" - --locale "en_US" + --locale "en_US" --build-dir ddp/Build/Products/Debug-iphoneos diff --git a/.github/workflows/ios-perf.yml b/.github/workflows/ios-perf.yml index 81e803f..ac88d85 100644 --- a/.github/workflows/ios-perf.yml +++ b/.github/workflows/ios-perf.yml @@ -3,22 +3,22 @@ name: iOS Performance on: workflow_dispatch: push: - branches: [ main, v1.2 ] - paths: + branches: [ main ] + paths: - 'lib/ios/**' - 'lib/common/**' - '.github/workflows/ios-perf.yml' pull_request: - branches: [ main, v1.2 ] - paths: + branches: [ main ] + paths: - 'lib/ios/**' - 'lib/common/**' - '.github/workflows/ios-perf.yml' - + defaults: run: working-directory: binding/ios/OctopusAppTest - + jobs: build: name: Run iOS Tests on AppCenter @@ -71,19 +71,19 @@ jobs: PerformanceTest/PerformanceTest.swift - name: XCode Build - run: xcrun xcodebuild build-for-testing - -configuration Debug + run: xcrun xcodebuild build-for-testing + -configuration Debug -workspace OctopusAppTest.xcworkspace - -sdk iphoneos + -sdk iphoneos -scheme PerformanceTest -derivedDataPath ddp CODE_SIGNING_ALLOWED=NO - name: Run Tests on AppCenter - run: appcenter test run xcuitest + run: appcenter test run xcuitest --token ${{secrets.APPCENTERAPITOKEN}} --app "Picovoice/Octopus-iOS" - --devices "Picovoice/${{ matrix.device }}" + --devices "Picovoice/${{ matrix.device }}" --test-series "octopus-ios" - --locale "en_US" + --locale "en_US" --build-dir ddp/Build/Products/Debug-iphoneos diff --git a/.github/workflows/python-perf.yml b/.github/workflows/python-perf.yml index 90d3a5d..55477f6 100644 --- a/.github/workflows/python-perf.yml +++ b/.github/workflows/python-perf.yml @@ -12,7 +12,7 @@ on: - 'lib/windows/**' - 'res/audio/**' pull_request: - branches: [ main, v1.2 ] + branches: [ main ] paths: - 'binding/python/test_octopus_perf.py' - 'lib/common/**' diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 4592044..6bf5e39 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -13,7 +13,7 @@ on: - 'lib/windows/**' - 'res/audio/**' pull_request: - branches: [ main, v1.2 ] + branches: [ main ] paths: - 'binding/python/**' - '!binding/python/README.md' diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml index a0be052..f1dd2d1 100644 --- a/.github/workflows/web.yml +++ b/.github/workflows/web.yml @@ -62,6 +62,6 @@ jobs: - name: Prepare Test run: yarn setup-test - + - name: Test run: python test/selenium_test.py --access_key ${{secrets.PV_VALID_ACCESS_KEY}} --audio_root_path ../../res/audio/