Skip to content

Attempt to pull the corresponding Synapse branch when running tests.#177

Merged
clokep merged 5 commits intomasterfrom
clokep/corresponding-branch
Jul 26, 2021
Merged

Attempt to pull the corresponding Synapse branch when running tests.#177
clokep merged 5 commits intomasterfrom
clokep/corresponding-branch

Conversation

@clokep
Copy link
Member

@clokep clokep commented Jul 26, 2021

This matches matrix-org/pipelines#158, but for GHA.

The code is cribbed from matrix-org/synapse#10160, and made somewhat homeserver-agnostic, but it seems that Dendrite actually pulls the code it needs as part of building the Docker image, so it is quite different.

This fixes the tests in #145

@clokep clokep force-pushed the clokep/corresponding-branch branch from b4ca324 to 4ae005c Compare July 26, 2021 15:23
@clokep clokep force-pushed the clokep/corresponding-branch branch from 4ae005c to 034810f Compare July 26, 2021 15:26
@clokep clokep marked this pull request as ready for review July 26, 2021 15:50
@clokep clokep requested a review from a team July 26, 2021 15:50
Copy link
Member

@anoadragon453 anoadragon453 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need to generalise this further once other homeserver's (that aren't on github.com/matrix-org/...) get added to the remit, but this works well for now 🙂

- uses: actions/checkout@v2

- name: "Checkout corresponding ${{ matrix.homeserver }} branch"
if: ${{ matrix.homeserver == 'Synapse' }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should perhaps put in a comment here to explain why Dendrite doesn't need this.

clokep and others added 3 commits July 26, 2021 12:25
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
@clokep clokep merged commit dccd7c1 into master Jul 26, 2021
@clokep clokep deleted the clokep/corresponding-branch branch July 26, 2021 16:35
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