mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2026-01-04 00:44:52 +08:00
[macOS] Update MongoDB to version 5 (#3772)
This commit is contained in:
committed by
GitHub
parent
99c8d003d4
commit
c7cfdf2683
@@ -2,13 +2,11 @@
|
||||
source ~/utils/utils.sh
|
||||
|
||||
# MongoDB object-value database
|
||||
# installs last version of MongoDB Community Edition
|
||||
# https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/v
|
||||
# Install latest release version of MongoDB Community Edition
|
||||
# https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x
|
||||
|
||||
echo "Installing mongodb..."
|
||||
|
||||
brew tap mongodb/brew
|
||||
brew_smart_install "mongodb-community@4.4"
|
||||
ln -sf $(brew --prefix mongodb-community@4.4)/bin/* /usr/local/bin/
|
||||
brew_smart_install "mongodb-community@5.0"
|
||||
|
||||
invoke_tests "Databases" "Mongo"
|
||||
invoke_tests "Databases" "MongoDB"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Describe "Mongo" {
|
||||
Describe "MongoDB" {
|
||||
It "mongodb" {
|
||||
"mongo --version" | Should -ReturnZeroExitCode
|
||||
"mongod --version"| Should -ReturnZeroExitCode
|
||||
|
||||
Reference in New Issue
Block a user