Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion tests/python_test_cases/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,16 @@
# SPDX-License-Identifier: Apache-2.0
# *******************************************************************************
load("@pip_score_venv_test//:requirements.bzl", "all_requirements")
load("@rules_python//python:defs.bzl", "py_library")
load("@rules_python//python:pip.bzl", "compile_pip_requirements")
load("@score_python_basics//:defs.bzl", "score_py_pytest", "score_virtualenv")

# Empty config library required by score_virtualenv macro
py_library(
name = "config",
srcs = [],
)

# Additional requirements for the tests
compile_pip_requirements(
name = "requirements",
Expand All @@ -24,9 +31,10 @@ compile_pip_requirements(
],
)

# Test specific dependencies are specified in the test targets below
score_virtualenv(
name = "python_tc_venv",
reqs = all_requirements,
reqs = [],
venv_name = ".python_tc_venv",
)

Expand Down
Loading