Skip to content

Commit

Permalink
Reduce CI matrix patterns
Browse files Browse the repository at this point in the history
It takes too long time to complete conditions for all Ruby versions by all
MongoDB versions. So this commit changes the configuration to run all
MongoDB versions only with Ruby 3.1.
  • Loading branch information
a2ikm committed Dec 27, 2023
1 parent 1eed4ae commit 1cecd4c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ jobs:
- 3.0.6
- 3.1.4
mongo-image:
- mongo:4.2
- mongo:4.4
- mongo:5.0
- mongo:6.0
- mongo:7.0
include:
- { "ruby-version": 3.1.4, "mongo-image": "mongo:4.2" }
- { "ruby-version": 3.1.4, "mongo-image": "mongo:5.0" }
- { "ruby-version": 3.1.4, "mongo-image": "mongo:6.0" }
- { "ruby-version": 3.1.4, "mongo-image": "mongo:7.0" }
services:
mongo:
image: ${{ matrix.mongo-image }}
Expand Down

0 comments on commit 1cecd4c

Please sign in to comment.