File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,7 @@ This release adds integration tests for the most important calls to SaaS API.
13
13
14
14
* #14 : Added fixture waiting until SaaS database is running
15
15
* #25 : Fixed transitive dependencies required by generated API client
16
+
17
+ ## Bugfixes
18
+
19
+ * #34 : Fixed handing secrets in CI/CD build
Original file line number Diff line number Diff line change 1
1
import os
2
2
import nox
3
- import sys
4
3
5
4
from pathlib import Path
6
5
from nox import Session
Original file line number Diff line number Diff line change 12
12
13
13
def _env (var : str ) -> str :
14
14
result = os .environ .get (var )
15
- if not result :
16
- raise RuntimeError (f"Environment variable { var } is empty." )
15
+ if result :
16
+ return result
17
+ raise RuntimeError (f"Environment variable { var } is empty." )
17
18
18
19
19
20
@pytest .fixture (scope = "session" )
You can’t perform that action at this time.
0 commit comments