Skip to content

test: compat for VCS#8

Open
palkerecsenyi wants to merge 1 commit intoinveniosoftware:masterfrom
palkerecsenyi:new-tests
Open

test: compat for VCS#8
palkerecsenyi wants to merge 1 commit intoinveniosoftware:masterfrom
palkerecsenyi:new-tests

Conversation

@palkerecsenyi
Copy link
Member

@palkerecsenyi palkerecsenyi commented Feb 3, 2026

Closes #2


  • Rewrote unit tests for compatibility with new invenio-vcs package by making the tests provider-agnostic. This involved creating patches to emulate the low-level behaviour of provider SDKs (for GitHub and GitLab) based on an abstract interface. Future provider implementations will also need corresponding test mock implementations.

  • Generally renamed many references in the tests from invenio-github to invenio-vcs.

  • The tests should all currently be passing, but it's only possible to fully test them if you have all the PRs for the new module assembled. This is already done on the master branch of https://github.com/palkerecsenyi/invenio-vcs-new for convenience.

  • This commit on its own is UNRELEASABLE. We will merge multiple commits related to the VCS upgrade into the master branch and then release them in one go once we have a fully ready prototype. At that point, we will create a squash commit.

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.

Make invenio-github support other VCS providers

1 participant