File tree Expand file tree Collapse file tree 1 file changed +10
-16
lines changed Expand file tree Collapse file tree 1 file changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -53,21 +53,15 @@ jobs:
5353 key : ${{ matrix.os }}-${{ matrix.mongodb }}
5454 - name : Install Dependencies
5555 run : npm install
56- - name : Install drivers-evergreen-tools
57- run : git clone --depth=1 https://github.com/mongodb-labs/drivers-evergreen-tools.git ~/.cache/drivers-evergreen-tools
5856 - name : Set up cluster
59- run : bash .github/scripts/run-orchestration.sh
60- env :
61- # The following is the settings for how we want to launch mongodb
62- MONGODB_VERSION : 8.0.0
63- TOPOLOGY : sharded
64- AUTH : auth
65- # ORCHESTRATION_FILE: ${ORCHESTRATION_FILE}
66- # REQUIRE_API_VERSION: ${REQUIRE_API_VERSION}
67- # LOAD_BALANCER: ${LOAD_BALANCER}
68- # COMPRESSOR: ${COMPRESSOR}
69- # These are paths necessary for launching mongodb
70- DRIVERS_TOOLS : ~/.cache/drivers-evergreen-tools
71- MONGODB_BINARIES : ~/.cache/mongodb-binaries
72- - name : Test
57+ id : setup-cluster
58+ uses : mongodb-labs/drivers-evergreen-tools@master
59+ with :
60+ version : ${{ matrix.mongodb }}
61+ topology : sharded
62+ auth : auth
63+ - name : Run Tests
7364 run : mocha --exit ./test/encryption/*.test.js
65+ env :
66+ MONGODB_URI : ${{ steps.setup-cluster.outputs.cluster-uri }}
67+ CRYPT_SHARED_LIB_PATH : ${{ steps.setup-cluster.outputs.crypt-shared-lib-path }}
You can’t perform that action at this time.
0 commit comments