]> git.openstreetmap.org Git - rails.git/commitdiff
Run tests on ubuntu 20.04 and 22.04 with ruby 3.1
authorTom Hughes <tom@compton.nu>
Tue, 19 Jul 2022 16:13:09 +0000 (17:13 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 9 Dec 2022 15:45:48 +0000 (15:45 +0000)
Ubuntu 22.04 actually uses ruby 3.0 but ruby/setup-ruby currently
only supports ruby 3.1 there so this is the best we can do.

.github/workflows/tests.yml

index 504bb94ab9afa8f1593759a7609cfa5388fdc3a4..2ee32c44974fcb61bc99e78113055c533c0cbf9a 100644 (file)
@@ -10,8 +10,8 @@ jobs:
     name: Ubuntu ${{ matrix.ubuntu }}, Ruby ${{ matrix.ruby }}
     strategy:
       matrix:
-        ubuntu: [20.04]
-        ruby: [2.7, 3.0]
+        ubuntu: [20.04, 22.04]
+        ruby: [2.7, 3.0, 3.1]
     runs-on: ubuntu-${{ matrix.ubuntu }}
     env:
       RAILS_ENV: test