blob: 0f94a3df25a9854ff759a243f217aae223d7801c [file]
---
tasks:
ubuntu1804:
environment:
# This tests custom cache locations.
# https://github.com/bazelbuild/rules_jvm_external/pull/316
COURSIER_CACHE: /tmp/custom_coursier_cache
shell_commands:
- bazel run @unpinned_regression_testing//:pin
- bazel run @unpinned_maven_install_in_custom_location//:pin
- bazel run @duplicate_artifacts_test//:pin
- tests/bazel_run_tests.sh
test_targets:
- "//..."
# manual tests
# TODO: Re-enable after fixing https://github.com/bazelbuild/rules_jvm_external/issues/375
# - "//tests/com/jvm/external:UnsafeSharedCacheTest"
rbe_ubuntu1604:
shell_commands:
- bazel run @unpinned_regression_testing//:pin
test_targets:
- "--"
- "//..."
# These tests are currently incompatible with RBE
- "-//tests/integration/override_targets"
- "-//tests/com/jvm/external/maven:OutdatedTest"
ubuntu1804_4_0_0:
platform: ubuntu1804
bazel: 4.0.0
shell_commands:
- bazel run @unpinned_regression_testing//:pin
- bazel run @unpinned_maven_install_in_custom_location//:pin
- tests/bazel_run_tests.sh
test_targets:
- "--"
- "//..."
ubuntu1804_4_2_2:
platform: ubuntu1804
bazel: 4.2.2
shell_commands:
- bazel run @unpinned_regression_testing//:pin
- bazel run @unpinned_maven_install_in_custom_location//:pin
- tests/bazel_run_tests.sh
test_targets:
- "--"
- "//..."
ubuntu1804_5_0_0:
platform: ubuntu1804
bazel: 5.0.0
shell_commands:
- bazel run @unpinned_regression_testing//:pin
- bazel run @unpinned_maven_install_in_custom_location//:pin
- tests/bazel_run_tests.sh
test_targets:
- "--"
- "//..."
ubuntu1804_latest:
platform: ubuntu1804
bazel: latest
environment:
# This tests custom cache locations.
# https://github.com/bazelbuild/rules_jvm_external/pull/316
COURSIER_CACHE: /tmp/custom_coursier_cache
shell_commands:
- bazel run @unpinned_regression_testing//:pin
- bazel run @unpinned_maven_install_in_custom_location//:pin
- bazel run @duplicate_artifacts_test//:pin
- tests/bazel_run_tests.sh
test_targets:
- "--"
- "//..."
macos:
environment:
# This tests custom cache locations.
# https://github.com/bazelbuild/rules_jvm_external/pull/316
COURSIER_CACHE: /tmp/custom_coursier_cache
shell_commands:
- bazel run @unpinned_regression_testing//:pin
- bazel run @unpinned_maven_install_in_custom_location//:pin
- bazel run @duplicate_artifacts_test//:pin
- tests/bazel_run_tests.sh
test_targets:
- "//..."
# manual tests
# commented out until https://github.com/bazelbuild/rules_jvm_external/issues/610 is fixed for Java 11
# - "//tests/com/jvm/external:UnsafeSharedCacheTest"
windows:
environment:
# This tests custom cache locations.
# https://github.com/bazelbuild/rules_jvm_external/pull/316
COURSIER_CACHE: /tmp/custom_coursier_cache
shell_commands:
- bazel run @unpinned_regression_testing//:pin
- bazel run @unpinned_maven_install_in_custom_location//:pin
- bazel run @duplicate_artifacts_test//:pin
- tests/bazel_run_tests.sh
test_targets:
- "--"
- "//..."
# rules_kotlin is not tested / does not work on Windows.
# https://github.com/bazelbuild/rules_kotlin/issues/179
# https://github.com/bazelbuild/rules_kotlin/blob/master/.bazelci/presubmit.yml
- "-//tests/unit/kotlin/..."
- "-//tests/integration/override_targets"
# https://github.com/bazelbuild/rules_jvm_external/issues/586
- "-//tests/unit/manifest_stamp:diff_signed_manifest_test"