Test in Ruby 2.7 (#7386)
* Test in Ruby 2.7
* Turn off GC.stress for 'require' in Ruby 2.7
* Backport 2c8364b
to compatibility_tests/v3.0.0
pull/7423/head
parent
81c9b85dee
commit
f494cb222d
11 changed files with 68 additions and 2 deletions
@ -0,0 +1,18 @@ |
|||||||
|
#!/bin/bash |
||||||
|
# |
||||||
|
# This is the top-level script we give to Kokoro as the entry point for |
||||||
|
# running the "pull request" project: |
||||||
|
# |
||||||
|
# This script selects a specific Dockerfile (for building a Docker image) and |
||||||
|
# a script to run inside that image. Then we delegate to the general |
||||||
|
# build_and_run_docker.sh script. |
||||||
|
|
||||||
|
# Change to repo root |
||||||
|
cd $(dirname $0)/../../.. |
||||||
|
|
||||||
|
export DOCKERHUB_ORGANIZATION=protobuftesting |
||||||
|
export DOCKERFILE_DIR=kokoro/linux/dockerfile/test/ruby |
||||||
|
export DOCKER_RUN_SCRIPT=kokoro/linux/pull_request_in_docker.sh |
||||||
|
export OUTPUT_DIR=testoutput |
||||||
|
export TEST_SET="ruby27" |
||||||
|
./kokoro/linux/build_and_run_docker.sh |
@ -0,0 +1,11 @@ |
|||||||
|
# Config file for running tests in Kokoro |
||||||
|
|
||||||
|
# Location of the build script in repository |
||||||
|
build_file: "protobuf/kokoro/linux/ruby27/build.sh" |
||||||
|
timeout_mins: 120 |
||||||
|
|
||||||
|
action { |
||||||
|
define_artifacts { |
||||||
|
regex: "**/sponge_log.xml" |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,11 @@ |
|||||||
|
# Config file for running tests in Kokoro |
||||||
|
|
||||||
|
# Location of the build script in repository |
||||||
|
build_file: "protobuf/kokoro/linux/ruby27/build.sh" |
||||||
|
timeout_mins: 120 |
||||||
|
|
||||||
|
action { |
||||||
|
define_artifacts { |
||||||
|
regex: "**/sponge_log.xml" |
||||||
|
} |
||||||
|
} |
@ -0,0 +1,11 @@ |
|||||||
|
#!/bin/bash |
||||||
|
# |
||||||
|
# Build file to set up and run tests |
||||||
|
|
||||||
|
# Change to repo root |
||||||
|
cd $(dirname $0)/../../.. |
||||||
|
|
||||||
|
# Prepare worker environment to run tests |
||||||
|
source kokoro/macos/prepare_build_macos_rc |
||||||
|
|
||||||
|
./tests.sh ruby27 |
@ -0,0 +1,5 @@ |
|||||||
|
# Config file for running tests in Kokoro |
||||||
|
|
||||||
|
# Location of the build script in repository |
||||||
|
build_file: "protobuf/kokoro/macos/ruby27/build.sh" |
||||||
|
timeout_mins: 1440 |
@ -0,0 +1,5 @@ |
|||||||
|
# Config file for running tests in Kokoro |
||||||
|
|
||||||
|
# Location of the build script in repository |
||||||
|
build_file: "protobuf/kokoro/macos/ruby27/build.sh" |
||||||
|
timeout_mins: 1440 |
Loading…
Reference in new issue