diff options
author | Louis Chemineau <louis@chmn.me> | 2022-12-27 11:44:46 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-12-27 11:44:46 +0100 |
commit | 7a73219412a675f5ad068d90f8654b723482a053 (patch) | |
tree | a758430a4a322b6da989a40828eddcab860a86be /cypress | |
parent | c31e0e3f45ce5fd70d4f74b8cb7a0a0a445ad5a3 (diff) | |
download | nextcloud-server-7a73219412a675f5ad068d90f8654b723482a053.tar.gz nextcloud-server-7a73219412a675f5ad068d90f8654b723482a053.zip |
Checkout current branch in cypress tests in CI
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'cypress')
-rw-r--r-- | cypress/dockerNode.ts | 3 |
1 files changed, 3 insertions, 0 deletions
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() |