Skip to content

Commit 90fbd9d

Browse files
committed
✅ Exclude incompatible versions from CI matrix
With a little effort, some of these could be made compatible, but... it's really not worth the effort. We'll be dropping support for older versions from the next minor release anyway.
1 parent 84f3153 commit 90fbd9d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/ruby.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,19 @@ jobs:
3434
resque: "2.6"
3535
redis: "5.2"
3636

37+
exclude:
38+
- { resque: "2.5", ruby: "2.4" } # redis 5.0 requires ruby 2.5
39+
- { resque: "2.6", ruby: "2.4" } # redis 5.2 requires ruby 2.6
40+
- { resque: "2.6", ruby: "2.5" } # redis 5.2 requires ruby 2.6
41+
42+
# ironically, resque 1.22 seems to be compatible with ruby 3+
43+
- { resque: "1.23", ruby: "3.0" } # incompatible with ruby 3+
44+
- { resque: "1.24", ruby: "3.1" } # incompatible with ruby 3+
45+
- { resque: "1.25", ruby: "3.2" } # incompatible with ruby 3+
46+
47+
- { resque: "2.1", ruby: "3.0" } # redis-namespace 1.7 requires ruby < 3
48+
- { resque: "2.1", ruby: "3.1" } # redis-namespace 1.7 requires ruby < 3
49+
- { resque: "2.1", ruby: "3.2" } # redis-namespace 1.7 requires ruby < 3
3750

3851
services:
3952
redis:

0 commit comments

Comments
 (0)