Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
5a55ff8
try ui tests
sosnovsky Dec 26, 2024
b571784
fix
sosnovsky Dec 26, 2024
07cd04c
preinstall wda
sosnovsky Dec 26, 2024
5231502
set debug logLevel
sosnovsky Dec 26, 2024
d2059ca
wip
sosnovsky Dec 26, 2024
0d547f8
wip
sosnovsky Dec 26, 2024
d9afb64
wip
sosnovsky Dec 26, 2024
5fad07d
wip
sosnovsky Dec 26, 2024
b6adf57
wip
sosnovsky Dec 26, 2024
be27ff2
wip
sosnovsky Dec 30, 2024
3ed692e
wip
sosnovsky Dec 30, 2024
b2761bf
wip
sosnovsky Dec 30, 2024
17842c7
wip
sosnovsky Dec 30, 2024
bad53e5
wip
sosnovsky Jan 2, 2025
634d6e8
wip
sosnovsky Jan 3, 2025
e29d923
wip
sosnovsky Jan 3, 2025
5636084
wip
sosnovsky Jan 3, 2025
123f8f4
use node 22
sosnovsky Jan 3, 2025
085c3f9
wip
sosnovsky Jan 3, 2025
7311356
wip
sosnovsky Jan 8, 2025
6caf42e
wip
sosnovsky Jan 9, 2025
1a3b31b
wip
sosnovsky Jan 13, 2025
e4d5427
wip
sosnovsky Jan 13, 2025
be9cf60
wip
sosnovsky Jan 13, 2025
a9f4c90
wip
sosnovsky Jan 20, 2025
9676c6e
wip
sosnovsky Jan 21, 2025
7215be5
Merge branch 'master' into ui-tests-ci-fix
sosnovsky Jan 21, 2025
c04326a
wip
sosnovsky Jan 28, 2025
723f484
wip
sosnovsky Jan 28, 2025
e8105b6
wip
sosnovsky Jan 30, 2025
68842d5
wip
sosnovsky Feb 10, 2025
ec6dcf6
wip
sosnovsky Feb 18, 2025
3751330
wip
sosnovsky Feb 18, 2025
52624d1
wip
sosnovsky Feb 18, 2025
b43ee12
wip
sosnovsky Feb 20, 2025
4ea204c
Merge branch 'master' into ui-tests-ci-fix
sosnovsky Feb 21, 2025
6488783
use iPhone 16
sosnovsky Feb 24, 2025
532cf21
fix
sosnovsky Feb 24, 2025
74aec63
wip
sosnovsky Feb 24, 2025
96abdc1
wip
sosnovsky Feb 25, 2025
e130681
wip
sosnovsky Feb 25, 2025
fe19869
wip
sosnovsky Feb 26, 2025
21eb12d
wip
sosnovsky Feb 26, 2025
7d6acb4
wip
sosnovsky Feb 26, 2025
3ffd2d0
update semaphore.yml
sosnovsky Feb 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ agent:
type: a2-standard-4
os_image: macos-xcode16
execution_time_limit:
minutes: 40
minutes: 90
auto_cancel:
running:
when: branch != 'master'
Expand All @@ -15,7 +15,7 @@ blocks:
run:
when: "change_in('/', {exclude: ['/Core/package.json', '/Core/package-lock.json', '/.github/dependabot.yml']})"
execution_time_limit:
minutes: 20
minutes: 15
task:
env_vars:
- name: LANG
Expand All @@ -31,10 +31,14 @@ blocks:
- bundle install
- bundle exec fastlane build
- bundle exec fastlane test
- git clone https://github.com/appium/WebDriverAgent.git
- cd WebDriverAgent
- xcodebuild build-for-testing -project WebDriverAgent.xcodeproj -derivedDataPath /var/tmp/derived_data/WebDriverAgent -scheme WebDriverAgentRunner -destination "platform=iphonesimulator,OS=18.2,name=iPhone 16"
epilogue:
always:
commands:
- cd /var/tmp/derived_data/Build/Products/Debug-iphonesimulator && cache store FlowCrypt-$SEMAPHORE_GIT_SHA.app FlowCrypt.app
- cd /var/tmp/derived_data/FlowCrypt/Build/Products/Debug-iphonesimulator && cache store FlowCrypt-$SEMAPHORE_GIT_SHA.app FlowCrypt.app
- cd /var/tmp/derived_data/WebDriverAgent/Build/Products/Debug-iphonesimulator && cache store WebDriverAgentRunner-Runner-$SEMAPHORE_GIT_SHA.app WebDriverAgentRunner-Runner.app
- name: TypeScript tests
dependencies: []
run:
Expand Down Expand Up @@ -71,7 +75,7 @@ blocks:
run:
when: "change_in('/', {exclude: ['/Core/package.json', '/Core/package-lock.json', '/Gemfile', '/Gemfile.lock', '/.github/dependabot.yml', '/.semaphore/semaphore.yml', '/package.json', '/package-lock.json']})"
execution_time_limit:
minutes: 20
minutes: 90
task:
env_vars:
- name: LANG
Expand All @@ -85,6 +89,10 @@ blocks:
- cache restore appium-npm && cd ./appium && npm i && cd .. && cache store appium-npm appium/node_modules
- cd appium
- cache restore FlowCrypt-$SEMAPHORE_GIT_SHA.app
- cache restore WebDriverAgentRunner-Runner-$SEMAPHORE_GIT_SHA.app
- open -Fn "$(xcode-select -p)/Applications/Simulator.app"
- xcrun simctl boot "iPhone 16"
- xcrun simctl install booted ./WebDriverAgentRunner-Runner.app
epilogue:
always:
commands:
Expand All @@ -93,20 +101,16 @@ blocks:
jobs:
- name: Run Mock inbox tests
commands:
- echo success
# - npm run-script test.mock.inbox
- npm run-script test.mock.inbox
- name: Run Mock compose tests
commands:
- echo success
# - npm run-script test.mock.compose
- npm run-script test.mock.compose
- name: Run Mock setup tests
commands:
- echo success
# - npm run-script test.mock.setup
- npm run-script test.mock.setup
- name: Run Mock other tests + Run Live tests
commands:
- echo success
# - npm run-script test.mock.login-settings
- npm run-script test.mock.login-settings
# temporary disabled because of e2e account login issue
# - 'wget https://flowcrypt.s3.eu-central-1.amazonaws.com/release/flowcrypt-ios-old-version-for-ci-storage-compatibility-2022-05-09.zip -P ~/git/flowcrypt-ios/appium'
# - unzip flowcrypt-ios-*.zip
Expand Down
Loading