Skip to content

Run tests in CI - #80

Open
hannesa2 wants to merge 4 commits into
masterfrom
TestInci
Open

hannesa2 wants to merge 4 commits into
masterfrom
TestInci

Conversation

@hannesa2

Copy link
Copy Markdown

No description provided.

@goneng

goneng commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

I tested this PR locally on top of #113 (the fixtures.zip symlink fix), without pushing anything to this branch. With both applied, all 287 tests run and 4 fail:

  • Libgit2FeaturesSpec (3): libgit2 is built without SSH support.
  • GTSubmoduleSpec "should synchronize the remote URL": libgit2 1.x's git_submodule_sync writes the resolved absolute path instead of ../Test_App, so the spec's expectation needs updating.

Your SHA-1 signing fix works as intended: Debug builds sign cleanly with no flag overrides.

Once #113 is merged, could you rebase this onto master? After that, the 4 failures above are all that's left before CI goes green. We can split them up between us if you like.

On the unzip race commit from #111 (9a0ef3b5): I didn't see the race locally. If you still want it, it would fit well as its own PR on top of #113, with the unzip result checked before the rename.

@hannesa2
hannesa2 force-pushed the TestInci branch 2 times, most recently from 11bc5ce to 965e971 Compare September 30, 2026 05:17
The vendored Carthage/Checkouts/xcconfigs Base/Configurations/Debug.xcconfig
hardcodes OTHER_CODE_SIGN_FLAGS = --digest-algorithm=sha1 --timestamp=none
for every Debug build. Current codesign refuses SHA-1 outright:

    error: signing with only SHA1 not allowed. Please remove `sha1`
    from the `--digest-algorithm` code signing flag.

which was breaking ObjectiveGit-MacTests' CodeSign build phase (and
would break the ObjectiveGit-Mac framework and ObjectiveGit-iOS
target the same way, since they share the same project-level Debug
config).

Since Base/Configurations/Debug.xcconfig lives in a separate vendored
git submodule (jspahrsummers/xcconfigs) fetched fresh by
script/bootstrap on every CI run, patching it directly wouldn't
survive a bootstrap. Instead, override OTHER_CODE_SIGN_FLAGS directly
in the project's own Debug build configuration, which takes
precedence over the same key supplied by baseConfigurationReference.
Keeps --timestamp=none (skips the network-dependent Developer ID
timestamp server, still fine for local/CI ad-hoc signing) and just
drops the now-rejected --digest-algorithm=sha1.
@hannesa2

Copy link
Copy Markdown
Author

Now it uploads the test result on failure and these are the remaining issues
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants