Skip to content

Commit 20e43f6

Browse files
committed
fix(ci): scope e2e tests by python version
1 parent f7bb4e9 commit 20e43f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e/utils/infrastructure.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import json
22
import logging
33
import os
4+
import platform
45
import subprocess
56
import sys
67
import textwrap
@@ -56,7 +57,7 @@ def __init__(self) -> None:
5657
self._feature_infra_module_path = self.feature_path / "infrastructure"
5758
self._feature_infra_file = self.feature_path / "infrastructure.py"
5859
self._handlers_dir = self.feature_path / "handlers"
59-
self._cdk_out_dir: Path = CDK_OUT_PATH / self.feature_name
60+
self._cdk_out_dir: Path = CDK_OUT_PATH / "-".join(platform.python_version_tuple()) / self.feature_name
6061
self._stack_outputs_file = f'{self._cdk_out_dir / "stack_outputs.json"}'
6162

6263
if not self._feature_infra_file.exists():

0 commit comments

Comments
 (0)