File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,44 +24,33 @@ jobs:
2424 uses : actions/checkout@v2
2525 with :
2626 submodules : recursive
27-
28- - uses : actions/setup-python@v6
29- with :
30- python-version : ' 3.13'
31-
32- - name : " Set up MongoDB"
33- id : setup-mongodb
34- uses : ./tests/drivers-evergreen-tools
27+ - id : start-mongodb
28+ name : start mongodb
29+ uses : mongodb-labs/drivers-evergreen-tools@master
3530 with :
36- version : ${{ matrix.mongodb }}
37- topology : ${{ matrix.topology }}
38-
31+ version : " ${{matrix.mongodb}}"
32+ topology : " ${{matrix.topology}}"
3933 - name : load ruby
4034 uses : ruby/setup-ruby@v1
4135 with :
4236 ruby-version : " ${{matrix.ruby}}"
4337 bundler : 2
44-
4538 - name : bundle
4639 run : bundle install --jobs 4 --retry 3
47-
4840 - name : prepare test suite
4941 run : bundle exec rake spec:prepare
5042 env :
5143 MONGODB_URI : ${{ steps.start-mongodb.outputs.cluster-uri }}
52-
5344 - name : prepare replica set
5445 run : ruby -Ilib -I.evergreen/lib -rbundler/setup -rserver_setup -e ServerSetup.new.setup_tags
5546 if : ${{ matrix.topology == 'replica_set' }}
5647 env :
5748 MONGODB_URI : ${{ steps.start-mongodb.outputs.cluster-uri }}
58-
5949 - name : wait for sessions
6050 run : bundle exec rake spec:wait_for_sessions
6151 if : ${{ matrix.topology == 'sharded_cluster' && matrix.mongodb == '3.6' }}
6252 env :
6353 MONGODB_URI : ${{ steps.start-mongodb.outputs.cluster-uri }}
64-
6554 - name : test
6655 timeout-minutes : 60
6756 continue-on-error : false
You can’t perform that action at this time.
0 commit comments