Skip to content

Commit

Permalink
ci: 🎡 add mongod
Browse files Browse the repository at this point in the history
  • Loading branch information
miragecentury committed Dec 5, 2024
1 parent 619ce9b commit eadcfba
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,18 @@ jobs:
pre-commit:
env:
PYTHON_PATH: "./src:./tests:$PYTHON_PATH"
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install MongoD
run: |
sudo apt-get install gnupg curl
curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | \
sudo gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg \
--dearmor
echo "deb [ arch=amd64 signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/8.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.0.list
sudo apt-get update
sudo apt-get install -y mongodb-org
- uses: actions/setup-python@v4
with:
python-version: "3.12"
Expand Down

0 comments on commit eadcfba

Please sign in to comment.