Skip to content

Commit

Permalink
Merge pull request #1678 from nextcloud/adjust-tests
Browse files Browse the repository at this point in the history
Adjust tests
  • Loading branch information
Ivansss committed Jun 12, 2024
2 parents a67779c + 99debd0 commit a06d6f5
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/uitests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ jobs:
run: |
set -o pipefail && \
xcodebuild build-for-testing \
-workspace "${{ env.WORKSPACE }}" \
-scheme "${{ env.SCHEME }}" \
-destination "${{ env.DESTINATION }}" \
-derivedDataPath "DerivedData" \
-workspace '${{ env.WORKSPACE }}' \
-scheme '${{ env.SCHEME }}' \
-destination '${{ env.DESTINATION }}' \
-derivedDataPath 'DerivedData' \
| xcbeautify --quieter
- name: Upload test build
Expand Down Expand Up @@ -130,8 +130,8 @@ jobs:
./server/occ config:system:set hashing_default_password --value=true --type=boolean
./server/occ config:system:set auth.bruteforce.protection.enabled --value false --type bool
./server/occ config:system:set ratelimit.protection.enabled --value false --type bool
./server/occ config:system:set memcache.local --value="\\OC\\Memcache\\APCu"
./server/occ config:system:set memcache.distributed --value="\\OC\\Memcache\\APCu"
./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
./server/occ background:cron
PHP_CLI_SERVER_WORKERS=3 php -S localhost:8080 -t server/ &
Expand All @@ -148,20 +148,20 @@ jobs:
run: |
set -o pipefail && \
xcodebuild test-without-building \
-xctestrun $(find . -type f -name "*.xctestrun") \
-destination "${{ env.DESTINATION }}" \
-derivedDataPath "DerivedData" \
-xctestrun $(find . -type f -name '*.xctestrun') \
-destination '${{ env.DESTINATION }}' \
-derivedDataPath 'DerivedData' \
-test-iterations 3 \
-retry-tests-on-failure \
-resultBundlePath "testResult.xcresult" \
-resultBundlePath 'testResult.xcresult' \
| xcbeautify --quieter
- name: Upload test results
uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: testResults-${{ matrix.configs.talkbranch }}.xcresult
path: "testResult.xcresult"
path: 'testResult.xcresult'

summary:
permissions:
Expand Down

0 comments on commit a06d6f5

Please sign in to comment.