diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 079ee92be..be7635cf9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -312,7 +312,7 @@ jobs: - run: pytest -vv tests/integration/workflows/python_uv ruby-integration: - name: ${{ matrix.os }} / ${{ matrix.python }} / ruby + name: ${{ matrix.os }} / ${{ matrix.python }} / ruby ${{ matrix.ruby }} if: github.repository_owner == 'aws' runs-on: ${{ matrix.os }} strategy: @@ -323,6 +323,9 @@ jobs: - windows-latest python: - "3.13" + ruby: + - "3.2" + - "4.0" steps: - uses: actions/checkout@v6 - uses: actions/setup-python@v6 @@ -330,7 +333,7 @@ jobs: python-version: ${{ matrix.python }} - uses: ruby/setup-ruby@4dc28cf14d77b0afa6832d9765ac422dbf0dfedd # v1 with: - ruby-version: "3.2" + ruby-version: ${{ matrix.ruby }} - run: make init - run: pytest -vv tests/integration/workflows/ruby_bundler diff --git a/aws_lambda_builders/supported_runtimes.py b/aws_lambda_builders/supported_runtimes.py index 9ccb832bf..956072ea3 100644 --- a/aws_lambda_builders/supported_runtimes.py +++ b/aws_lambda_builders/supported_runtimes.py @@ -32,6 +32,7 @@ "ruby3.2", "ruby3.3", "ruby3.4", + "ruby4.0", ] # Java runtimes diff --git a/tests/integration/workflows/ruby_bundler/test_ruby.py b/tests/integration/workflows/ruby_bundler/test_ruby.py index ce81a8aca..9d84f0be5 100644 --- a/tests/integration/workflows/ruby_bundler/test_ruby.py +++ b/tests/integration/workflows/ruby_bundler/test_ruby.py @@ -21,6 +21,7 @@ ("ruby3.2",), ("ruby3.3",), ("ruby3.4",), + ("ruby4.0",), ], ) class TestRubyWorkflow(TestCase):