Skip to content

Commit

Permalink
Fix mongodb installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mraspaud committed May 15, 2024
1 parent 1b5c61a commit 6f36e15
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,15 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install mongodb
run: |
sudo apt install -y gnupg curl
curl -fsSL https://www.mongodb.org/static/pgp/server-7.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg --dearmor
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
sudo apt-get update
sudo apt install -y mongodb-org
- name: Install dependencies
run: |
sudo apt install -y mongodb-org
python -m pip install --upgrade pip
python -m pip install ruff pytest pytest-asyncio
python -m pip install -e .
Expand Down

0 comments on commit 6f36e15

Please sign in to comment.