Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
laves committed Aug 11, 2022
1 parent 7453d48 commit 866a1a4
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 29 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android-appcenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/ios-appcenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
24 changes: 12 additions & 12 deletions .github/workflows/ios-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/python-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/**'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- 'lib/windows/**'
- 'res/audio/**'
pull_request:
branches: [ main, v1.2 ]
branches: [ main ]
paths:
- 'binding/python/**'
- '!binding/python/README.md'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit 866a1a4

Please sign in to comment.