From edb1007bb3aff1abebe225b6569d40a9da6a73eb Mon Sep 17 00:00:00 2001
From: Nicolas Dandrimont <nicolas@dandrimont.eu>
Date: Wed, 21 Jun 2023 13:18:37 +0200
Subject: [PATCH] tox.ini: pass cassandra-related environment variables

This allows overriding the JAVA_HOME to run cassandra with a different
java version (which also happens to be needed in CI, as we force usage
of an old java for cassandra through that envvar).
---
 tox.ini | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tox.ini b/tox.ini
index 4a21510..fc2bbbb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,6 +3,9 @@ minversion=4
 envlist=black,flake8,mypy,py3
 
 [testenv]
+passenv =
+  JAVA_HOME
+  SWH_CASSANDRA_LOG
 extras =
   testing
 deps =
-- 
GitLab