Skip to content

Commit

Permalink
MacOS 13
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Müller <[email protected]>
  • Loading branch information
SystemKeeper committed Oct 20, 2023
1 parent bc011e4 commit dad5724
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/uitests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit dad5724

Please sign in to comment.