Skip to content

Fix Build and Test CI failures caused by invalid Nextcloud setup cache config and non-testable Xcode scheme#229

Open
mpivchev with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-failing-github-actions-job
Open

Fix Build and Test CI failures caused by invalid Nextcloud setup cache config and non-testable Xcode scheme#229
mpivchev with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Jun 25, 2026

Copy link
Copy Markdown

The Build and Test workflow was failing for two independent reasons: Nextcloud setup was configured with APCu cache settings not available in the job runtime, and xcodebuild test used a scheme not configured for test actions. This PR removes the invalid cache configuration and switches CI to a testable scheme.

  • CI stability: Nextcloud setup

    • Removed APCu cache configuration commands from the workflow setup step:
      • memcache.local = \OC\Memcache\APCu
      • memcache.distributed = \OC\Memcache\APCu
    • This avoids occ bootstrap failures when APCu is unavailable in the CI PHP CLI environment.
  • CI test execution: Xcode scheme selection

    • Updated workflow env scheme from NextcloudKit to NextcloudKit-Package for xcodebuild test.
    • Aligns test invocation with a scheme that has the test action configured.
env:
  SCHEME: NextcloudKit-Package

Copilot AI changed the title [WIP] Fix failing GitHub Actions job Build and Test Fix CI: remove APCu memcache config that breaks Nextcloud setup on macOS runner Jun 25, 2026
Copilot AI requested a review from mpivchev June 25, 2026 15:28
@mpivchev mpivchev marked this pull request as ready for review June 25, 2026 15:29
@mpivchev mpivchev enabled auto-merge (squash) June 25, 2026 15:31
auto-merge was automatically disabled June 25, 2026 16:07

Head branch was pushed to by a user without write access

Copilot AI changed the title Fix CI: remove APCu memcache config that breaks Nextcloud setup on macOS runner Fix Build and Test CI failures caused by invalid Nextcloud setup cache config and non-testable Xcode scheme Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants