Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 5 commits into from
Jul 26, 2021

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 🙂

.github/workflows/ci.yaml Outdated Show resolved Hide resolved
@@ -41,6 +43,33 @@ jobs:

steps:
- 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.

.github/workflows/ci.yaml Outdated Show resolved Hide resolved
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