aboutsummaryrefslogtreecommitdiff
path: root/tests/toolchains/workspace_template/BUILD.bazel.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/toolchains/workspace_template/BUILD.bazel.tmpl')
-rw-r--r--tests/toolchains/workspace_template/BUILD.bazel.tmpl9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/toolchains/workspace_template/BUILD.bazel.tmpl b/tests/toolchains/workspace_template/BUILD.bazel.tmpl
new file mode 100644
index 0000000..4a45209
--- /dev/null
+++ b/tests/toolchains/workspace_template/BUILD.bazel.tmpl
@@ -0,0 +1,9 @@
+load("@rules_python//python:defs.bzl", "py_test")
+
+py_test(
+ name = "python_version_test",
+ srcs = ["python_version_test.py"],
+ env = {
+ "PYTHON_VERSION": "%python_version%",
+ },
+)