From dad57244cbbeff4f894a47dc11056790df1a1ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=BCller?= Date: Fri, 20 Oct 2023 08:50:22 +0200 Subject: [PATCH] MacOS 13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcel Müller --- .github/workflows/uitests.yml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/uitests.yml b/.github/workflows/uitests.yml index 8fab97a0b..77724804a 100644 --- a/.github/workflows/uitests.yml +++ b/.github/workflows/uitests.yml @@ -22,7 +22,7 @@ permissions: jobs: build-and-test: name: Build and Test - runs-on: macos-latest + runs-on: macos-13 if: github.event.pull_request.draft == false strategy: @@ -32,7 +32,7 @@ jobs: env: WORKSPACE: NextcloudTalk.xcworkspace - DESTINATION: platform=iOS Simulator,name=iPhone 14,OS=16.2 + DESTINATION: platform=iOS Simulator,name=iPhone 14,OS=16.4 SCHEME: NextcloudTalk TEST_BRANCH: ${{ matrix.test-branches }} CONTAINER_NAME: nextcloud_test @@ -103,24 +103,22 @@ jobs: - name: Set up production dependencies working-directory: server/apps/spreed - run: composer i --no-dev - - - name: Set up dependencies talk-ios - run: | - pod install + run: composer i --no-dev - name: Set up Nextcloud - env: - DB_PORT: 4444 run: | mkdir server/data - ./server/occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin + ./server/occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin ./server/occ config:system:set hashing_default_password --value=true --type=boolean ./server/occ config:system:set memcache.local --value="\\OC\\Memcache\\APCu" ./server/occ config:system:set memcache.distributed --value="\\OC\\Memcache\\APCu" ./server/occ app:enable --force spreed PHP_CLI_SERVER_WORKERS=3 php -S localhost:8080 -t server/ & + - name: Set up dependencies talk-ios + run: | + pod install + - name: Build & Test NextcloudTalk iOS run: | set -o pipefail && xcodebuild test -workspace $WORKSPACE \