Skip to content

Commit

Permalink
Fix e2e/smoke tests (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
amartani committed Aug 17, 2023
1 parent 5b8b76a commit 983d131
Show file tree
Hide file tree
Showing 3 changed files with 662 additions and 206 deletions.
18 changes: 6 additions & 12 deletions e2e/smoke/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
bazel_dep(name = "caseyduquettesc_rules_python_pytest", version = "0.0.0", dev_dependency = True, repo_name = "rules_python_pytest")
bazel_dep(name = "bazel_skylib", version = "1.3.0", dev_dependency = True)
bazel_dep(name = "rules_python", version = "0.19.0", dev_dependency = True)
bazel_dep(name = "bazel_skylib", version = "1.4.2", dev_dependency = True)
bazel_dep(name = "rules_python", version = "0.24.0", dev_dependency = True)

local_path_override(
module_name = "caseyduquettesc_rules_python_pytest",
path = "../..",
)

# Pretty much copied from https://github.com/bazelbuild/rules_python/releases/tag/0.17.3
python = use_extension("@rules_python//python:extensions.bzl", "python")
# Pretty much copied from https://github.com/bazelbuild/rules_python/releases/tag/0.24.0
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
name = "python3_9",
is_default = True,
python_version = "3.9",
)
use_repo(python, "python3_9_toolchains")

register_toolchains(
"@python3_9_toolchains//:all",
)

pip = use_extension("@rules_python//python:extensions.bzl", "pip")
pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
name = "pip",
hub_name = "pip",
requirements_lock = "//:requirements.txt",
)
use_repo(pip, "pip")
Loading

0 comments on commit 983d131

Please sign in to comment.