Skip to content

Commit

Permalink
ci: fix mongod startup (#5248)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpoulain authored Dec 2, 2022
1 parent b670958 commit 31215c6
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -545,9 +545,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check
- name: Setup MongoDB
run: |
sudo systemctl start mongod.service
sudo apt update
sudo apt install -y wget gnupg
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
sudo apt update
sudo apt install -y mongodb-org
sudo systemctl start mongod
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down Expand Up @@ -900,9 +906,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Check
- name: Setup MongoDB
run: |
sudo systemctl start mongod.service
sudo apt update
sudo apt install -y wget gnupg
wget -qO - https://www.mongodb.org/static/pgp/server-6.0.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
sudo apt update
sudo apt install -y mongodb-org
sudo systemctl start mongod
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down

0 comments on commit 31215c6

Please sign in to comment.