Skip to content

Commit b74cb52

Browse files
committed
Implement yeetd for E2E tests
1 parent e3bb29b commit b74cb52

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

.github/workflows/cron-checks.yml

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ jobs:
6868
- uses: ./.github/actions/bootstrap
6969
env:
7070
INSTALL_ALLURE: true
71+
INSTALL_YEETD: true
7172
- name: Cache iOS Simulator Runtime
7273
uses: actions/cache@v3
7374
id: runtime-cache

.github/workflows/smoke-checks.yml

+3
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ jobs:
7373
name: cache-derived-data
7474
path: derived_data/Build/
7575
- uses: ./.github/actions/bootstrap
76+
env:
77+
INSTALL_YEETD: true
7678
- uses: ./.github/actions/python-cache
7779
- name: Run UI Tests (Debug)
7880
run: bundle exec fastlane test_ui device:"${{ env.IOS_SIMULATOR_DEVICE }}" skip_build:true record:${{ github.event.inputs.snapshots }}
@@ -136,6 +138,7 @@ jobs:
136138
- uses: ./.github/actions/bootstrap
137139
env:
138140
INSTALL_ALLURE: true
141+
INSTALL_YEETD: true
139142
- name: Run UI Tests (Debug)
140143
run: bundle exec fastlane test_e2e_mock device:"${{ env.IOS_SIMULATOR_DEVICE }}" batch:'${{ matrix.batch }}' test_without_building:true
141144
env:

Githubfile

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22

33
export ALLURECTL_VERSION='2.15.1'
44
export XCRESULTS_VERSION='1.16.3'
5+
export YEETD_VERSION='1.0'

Scripts/bootstrap.sh

+9
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,12 @@ if [[ ${INSTALL_ALLURE-default} == true ]]; then
5454
curl -sL "${DOWNLOAD_URL}" -o ./fastlane/xcresults
5555
chmod +x ./fastlane/xcresults
5656
fi
57+
58+
if [[ ${INSTALL_YEETD-default} == true ]]; then
59+
PACKAGE="yeetd-normal.pkg"
60+
puts "Install yeetd v${YEETD_VERSION}"
61+
wget "https://github.com/biscuitehh/yeetd/releases/download/${YEETD_VERSION}/${PACKAGE}"
62+
sudo installer -pkg ${PACKAGE} -target /
63+
puts "Running yeetd daemon"
64+
yeetd &
65+
fi

0 commit comments

Comments
 (0)