From 47bd83d6b01466758ff5d4f3da33a1242a61557f Mon Sep 17 00:00:00 2001 From: Paul Mucur Date: Sun, 24 Sep 2023 12:53:37 +0100 Subject: [PATCH] Run compilation tests against Ruby 3.3.0-preview2 Before compiling the native gems against the latest, unreleased version of Ruby, check the gem compiles and passes its tests when the user has to compile against it on install. See https://github.com/mudge/re2/issues/108 --- .github/workflows/tests.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a9e8fd65..ba529f83 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -70,6 +70,7 @@ jobs: strategy: matrix: ruby: + - '3.3.0-preview2' - '3.2' - '3.1' - '3.0' @@ -124,7 +125,7 @@ jobs: fail-fast: false matrix: runs-on: ["ubuntu-latest", "macos-latest"] - ruby: ["2.6", "2.7", "3.0", "3.1", "3.2"] + ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3.0-preview2"] include: - ruby: "2.6" runs-on: "windows-2019" @@ -136,6 +137,8 @@ jobs: runs-on: "windows-2022" - ruby: "3.2" runs-on: "windows-2022" + - ruby: "3.3.0-preview2" + runs-on: "windows-2022" runs-on: ${{matrix.runs-on}} steps: - uses: actions/checkout@v4