-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2826 from vtomasr5/support-pymongo-4.7-and-4.8
Add pymongo 4.7 and pymongo 4.8 to the CI
- Loading branch information
Showing
4 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
|
||
MONGODB=$1 | ||
MONGOSH=$2 | ||
|
||
if (( $(echo "$MONGODB < 6.0" | bc -l) )); then | ||
echo "mongosh is not needed for MongoDB versions less than 6.0" | ||
exit 0 | ||
fi | ||
|
||
wget https://downloads.mongodb.com/compass/mongosh-${MONGOSH}-linux-x64.tgz | ||
tar xzf mongosh-${MONGOSH}-linux-x64.tgz | ||
|
||
mongosh_dir=$(find ${PWD}/ -type d -name "mongosh-${MONGOSH}-linux-x64") | ||
$mongosh_dir/bin/mongosh --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters