@@ -22,12 +22,12 @@ jobs:
22
22
- targetPlatform : StandaloneOSX
23
23
buildMethod : MacBuilder.BuildForAltTester
24
24
buildPath : sample/Builds/MacOS
25
- - targetPlatform : StandaloneWindows64
26
- buildMethod : WindowsBuilder.BuildForAltTester
27
- buildPath : sample/Builds/Windows64
28
- - targetPlatform : Android
29
- buildMethod : MobileBuilder.BuildForAltTester
30
- buildPath : sample/Builds/Android
25
+ # - targetPlatform: StandaloneWindows64
26
+ # buildMethod: WindowsBuilder.BuildForAltTester
27
+ # buildPath: sample/Builds/Windows64
28
+ # - targetPlatform: Android
29
+ # buildMethod: MobileBuilder.BuildForAltTester
30
+ # buildPath: sample/Builds/Android
31
31
steps :
32
32
- uses : actions/checkout@v3
33
33
with :
@@ -70,19 +70,29 @@ jobs:
70
70
- targetPlatform : StandaloneOSX
71
71
runs-on : [self-hosted, macOS]
72
72
test_script : pytest -xs test/test_mac.py::MacTest
73
- - targetPlatform : StandaloneWindows64
74
- runs-on : [self-hosted, windows]
75
- test_script : pytest -xs test/test_windows.py::WindowsTest
76
- - targetPlatform : Android
77
- runs-on : [ self-hosted, macOS ]
78
- test_script : browserstack-sdk pytest -s ./test/test_android.py --browserstack.config "browserstack.android.yml"
73
+ # - targetPlatform: StandaloneWindows64
74
+ # runs-on: [self-hosted, windows]
75
+ # test_script: pytest -xs test/test_windows.py::WindowsTest
76
+ # - targetPlatform: Android
77
+ # runs-on: [ self-hosted, macOS ]
78
+ # test_script: browserstack-sdk pytest -s ./test/test_android.py --browserstack.config "browserstack.android.yml"
79
79
concurrency :
80
80
group : test-${{ matrix.targetPlatform }}
81
81
runs-on : ${{ matrix.runs-on }}
82
82
steps :
83
83
- uses : actions/checkout@v3
84
84
with :
85
85
lfs : true
86
+ - name : Create temporary keychain
87
+ if : ${{ matrix.targetPlatform == 'StandaloneOSX' }}
88
+ run : |
89
+ security list-keychains
90
+ security delete-keychain temporary || true
91
+ security list-keychains
92
+ security create-keychain -p "" temporary
93
+ security default-keychain -s temporary
94
+ security unlock-keychain -p "" temporary
95
+ security set-keychain-settings -lut 600 temporary
86
96
- uses : actions/download-artifact@v4
87
97
with :
88
98
name : Build-${{ matrix.targetPlatform }}
@@ -114,6 +124,13 @@ jobs:
114
124
BROWSERSTACK_ACCESS_KEY : ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
115
125
working-directory : sample/Tests
116
126
run : ${{ matrix.test_script }}
127
+ - name : Remove temporary keychain
128
+ if : ${{ matrix.targetPlatform == 'StandaloneOSX' }}
129
+ run : |
130
+ security list-keychains
131
+ security default-keychain -s ~/Library/Keychains/login.keychain-db
132
+ security delete-keychain temporary
133
+ security list-keychains
117
134
# test-ios:
118
135
# name: Run iOS UI tests 🧪
119
136
# runs-on: [ self-hosted, macOS ]
0 commit comments