From 7a73219412a675f5ad068d90f8654b723482a053 Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Tue, 27 Dec 2022 11:44:46 +0100 Subject: Checkout current branch in cypress tests in CI Signed-off-by: Louis Chemineau --- cypress/dockerNode.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cypress') diff --git a/cypress/dockerNode.ts b/cypress/dockerNode.ts index 13e75c605b2..93b228c4460 100644 --- a/cypress/dockerNode.ts +++ b/cypress/dockerNode.ts @@ -83,6 +83,9 @@ export const startNextcloud = async function(branch: string = 'master'): Promise HostConfig: { Binds: [], }, + Env: [ + `BRANCH=${branch}`, + ] }) await container.start() -- cgit v1.2.3