File tree Expand file tree Collapse file tree 1 file changed +74
-0
lines changed Expand file tree Collapse file tree 1 file changed +74
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Run Driver Tests
2
+ on : [push, pull_request]
3
+ jobs :
4
+ build :
5
+ name : " ${{matrix.os}} ruby-${{matrix.ruby}} mongodb-${{matrix.mongodb}} ${{matrix.topology}}"
6
+ env :
7
+ CI : true
8
+ TESTOPTS : " -v"
9
+ runs-on : ubuntu-latest
10
+ continue-on-error : true
11
+ strategy :
12
+ fail-fast : false
13
+ matrix :
14
+ os : [ ubuntu-latest ]
15
+ ruby : ["2.5", "2.6", "2.7", "3.0"]
16
+ mongodb : ["3.6", "4.4", "5.0"]
17
+ topology : [replica_set, sharded_cluster]
18
+ include :
19
+ - os : macos
20
+ ruby : " 2.6"
21
+ mongodb : " 5.0"
22
+ topology : server
23
+ - os : macos
24
+ ruby : " 2.7"
25
+ mongodb : " 5.0"
26
+ topology : server
27
+ - os : macos
28
+ ruby : " 3.0"
29
+ mongodb : " 5.0"
30
+ topology : server
31
+ - os : ubuntu-latest
32
+ ruby : " 2.6"
33
+ mongodb : " 5.0"
34
+ topology : server
35
+ - os : ubuntu-latest
36
+ ruby : " 2.7"
37
+ mongodb : " 5.0"
38
+ topology : server
39
+ - os : ubuntu-latest
40
+ ruby : " 3.0"
41
+ mongodb : " 5.0"
42
+ topology : server
43
+ - os : ubuntu-18.04
44
+ ruby : " 2.5"
45
+ mongodb : " 3.6"
46
+ topology : replica_set
47
+ - os : ubuntu-16.04
48
+ ruby : " 2.4"
49
+ mongodb : " 3.6"
50
+ topology : replica_set
51
+ steps :
52
+ - name : repo checkout
53
+ uses : actions/checkout@v2
54
+ with :
55
+ submodules : recursive
56
+ - id : start-mongodb
57
+ name : start mongodb
58
+ uses : mongodb-labs/drivers-evergreen-tools@master
59
+ with :
60
+ version : " ${{matrix.mongodb}}"
61
+ topology : " ${{matrix.topology}}"
62
+ - name : load ruby
63
+ uses : ruby/setup-ruby@v1
64
+ with :
65
+ ruby-version : " ${{matrix.ruby}}"
66
+ bundler : 2
67
+ - name : bundle
68
+ run : bundle install --jobs 4 --retry 3
69
+ - name : test
70
+ timeout-minutes : 60
71
+ continue-on-error : true
72
+ run : bundle exec rake spec:ci
73
+ env :
74
+ MONGODB_URI : ${{ steps.start-mongodb.outputs.cluster-uri }}
You can’t perform that action at this time.
0 commit comments