Skip to content

Commit 0c3f863

Browse files
committed
Fix CI and remove Sourcery (#187)
* Fix CI and remove Sourcery Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com> * Remove letter Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com> * Increase line length Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com> --------- Signed-off-by: Milen Pivchev <milen.pivchev@gmail.com>
1 parent 54d135c commit 0c3f863

File tree

5 files changed

+10
-66
lines changed

5 files changed

+10
-66
lines changed

.github/workflows/xcode.yml

Lines changed: 9 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ on:
1414
- develop
1515

1616
env:
17-
DESTINATION_IOS: platform=iOS Simulator,name=iPhone 16,OS=18.1
17+
DESTINATION_IOS: platform=iOS Simulator,name=iPhone 16,OS=18.5
1818
DESTINATION_MACOS: platform=macOS,arch=x86_64
1919
SCHEME: NextcloudKit
20-
SERVER_BRANCH: stable28
21-
PHP_VERSION: 8.2
20+
SERVER_BRANCH: stable30
21+
PHP_VERSION: 8.3
2222

2323
jobs:
2424
build-and-test:
@@ -60,32 +60,12 @@ jobs:
6060
./server/occ config:system:set memcache.distributed --value="\\OC\\Memcache\\APCu"
6161
./server/occ background:cron
6262
PHP_CLI_SERVER_WORKERS=5 php -S localhost:8080 -t server/ &
63-
# - name: Setup Bundler and Install Gems
64-
# run: |
65-
# gem install bundler
66-
# bundle install
67-
# bundle update
68-
# - name: Install docker
69-
# run: |
70-
# # Workaround for https://github.com/actions/runner-images/issues/8104
71-
# brew remove --ignore-dependencies qemu
72-
# curl -o ./qemu.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/dc0669eca9479e9eeb495397ba3a7480aaa45c2e/Formula/qemu.rb
73-
# brew install ./qemu.rb
74-
#
75-
# brew install docker
76-
# colima start
77-
# - name: Create docker test server and export enviroment variables
78-
# run: |
79-
# source ./create-docker-test-server.sh
80-
# if [ ! -f ".env-vars" ]; then
81-
# touch .env-vars
82-
# echo "export TEST_SERVER_URL=$TEST_SERVER_URL" >> .env-vars
83-
# echo "export TEST_USER=$TEST_USER" >> .env-vars
84-
# echo "export TEST_APP_PASSWORD=$TEST_APP_PASSWORD" >> .env-vars
85-
# fi
86-
# - name: Generate EnvVars file
87-
# run: |
88-
# ./generate-env-vars.sh
63+
64+
- name: Setup Xcode
65+
uses: maxim-lobanov/setup-xcode@60606e260d2fc5762a71e64e74b2174e8ea3c8bd # v1.6.0
66+
with:
67+
xcode-version: latest-stable
68+
8969
- name: Build & Test NextcloudKit
9070
run: |
9171
set -o pipefail && xcodebuild test -scheme "$SCHEME" \

.swiftlint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ empty_count:
1111

1212
line_length:
1313
warning: 400
14-
error: 400
14+
error: 450
1515

1616
function_body_length:
1717
warning: 200

Sourcery/EnvVars.stencil

Lines changed: 0 additions & 18 deletions
This file was deleted.

Sourcery/bin/sourcery

-18.9 MB
Binary file not shown.

generate-env-vars.sh

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)