Skip to content

Commit

Permalink
chore: run all e2e tests on CI (#1609)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Apr 24, 2024
1 parent fe626f9 commit 5c6cfaa
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 38 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: CI
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
branches: [main, 2.x]
pull_request:
branches: [main]
branches: [main, 2.x]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions e2e/gyp_no_install_script/snapshots/wksp/repositories.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 0 additions & 31 deletions e2e/gyp_no_install_script/snapshots/wksp/segfault-handler_defs.bzl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions e2e/vendored_node/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@ load("@aspect_rules_js//js:repositories.bzl", "rules_js_dependencies")

rules_js_dependencies()

load(
"@aspect_bazel_lib//lib:repositories.bzl",
"register_copy_directory_toolchains",
"register_copy_to_directory_toolchains",
"register_coreutils_toolchains",
"register_tar_toolchains",
"register_yq_toolchains",
)

register_copy_directory_toolchains()

register_copy_to_directory_toolchains()

register_coreutils_toolchains()

register_tar_toolchains()

register_yq_toolchains()

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()
Expand Down
1 change: 1 addition & 0 deletions e2e/webpack_devserver/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bazel_dep(name = "aspect_bazel_lib", version = "2.7.0")
bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "rules_go", version = "0.46.0")
bazel_dep(name = "aspect_rules_js", version = "0.0.0")
Expand Down
1 change: 1 addition & 0 deletions e2e/webpack_devserver_esm/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bazel_dep(name = "aspect_bazel_lib", version = "2.7.0")
bazel_dep(name = "bazel_skylib", version = "1.5.0")
bazel_dep(name = "rules_go", version = "0.46.0")
bazel_dep(name = "aspect_rules_js", version = "0.0.0")
Expand Down
19 changes: 19 additions & 0 deletions e2e/worker/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,25 @@ nodejs_register_toolchains(
node_version = "14.20.0",
)

load(
"@aspect_bazel_lib//lib:repositories.bzl",
"register_copy_directory_toolchains",
"register_copy_to_directory_toolchains",
"register_coreutils_toolchains",
"register_tar_toolchains",
"register_yq_toolchains",
)

register_copy_directory_toolchains()

register_copy_to_directory_toolchains()

register_coreutils_toolchains()

register_tar_toolchains()

register_yq_toolchains()

load("@bazel_features//:deps.bzl", "bazel_features_deps")

bazel_features_deps()
2 changes: 1 addition & 1 deletion js/private/test/image/checksum.expected
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
6477f43b8663b593b7eb3ba50f7b617849eca2d2ecccdba37a92b0c9faf1226c js/private/test/image/cksum_app.tar
4a332bdfbc2c68da46ff8851a060c04c5e0328c07540c0da992d95e7b0e79ffa js/private/test/image/cksum_app.tar
813d54ae63067f19103e13f616726ff1f32cf8d51e27789b8d31415300f0a69e js/private/test/image/cksum_node_modules.tar
2 changes: 1 addition & 1 deletion js/private/test/image/custom_owner_app.listing
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ drwxr-xr-x 100/0 0 1970-01-01 00:00 app/js/private/test/image/bin.ru
drwxr-xr-x 100/0 0 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private
drwxr-xr-x 100/0 0 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test
drwxr-xr-x 100/0 0 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test/image
-r-xr-xr-x 100/0 24130 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test/image/bin
-r-xr-xr-x 100/0 23948 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test/image/bin
drwxr-xr-x 100/0 0 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test/image/bin_node_bin
-r-xr-xr-x 100/0 133 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test/image/bin_node_bin/node
-r-xr-xr-x 100/0 20 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test/image/main.js
2 changes: 1 addition & 1 deletion js/private/test/image/default_app.listing
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ drwxr-xr-x 0/0 0 1970-01-01 00:00 app/js/private/test/image/bin.ru
drwxr-xr-x 0/0 0 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private
drwxr-xr-x 0/0 0 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test
drwxr-xr-x 0/0 0 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test/image
-r-xr-xr-x 0/0 24130 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test/image/bin
-r-xr-xr-x 0/0 23948 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test/image/bin
drwxr-xr-x 0/0 0 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test/image/bin_node_bin
-r-xr-xr-x 0/0 133 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test/image/bin_node_bin/node
-r-xr-xr-x 0/0 20 1970-01-01 00:00 app/js/private/test/image/bin.runfiles/aspect_rules_js/js/private/test/image/main.js

0 comments on commit 5c6cfaa

Please sign in to comment.