Skip to content

Commit c48d3d3

Browse files
authored
Temporary skip rubocop tests for Ruby 3.3 (#1427)
1 parent fa99ee7 commit c48d3d3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • jenkins_pipelines/manager_prs/tests_files

jenkins_pipelines/manager_prs/tests_files/rubocop.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ rubocop_file="testsuite/.rubocop.yml"
55
if [[ -f "$rubocop_file" ]]; then
66
# Extract the Ruby version from the file
77
ruby_version=$(grep "TargetRubyVersion:" "$rubocop_file" | awk '{print $2}')
8+
# Temporary skip the check for Ruby 3.3
9+
if [[ "$ruby_version" == "3.3" ]]; then
10+
echo "Skipping Rubocop for Ruby 3.3, until sumadockers support it."
11+
exit 0
12+
fi
813
if [[ -n "$ruby_version" ]]; then
914
rubocop.ruby"$ruby_version" -v
1015
cd testsuite

0 commit comments

Comments
 (0)