Skip to content

Commit

Permalink
chore: small ci fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Aug 6, 2024
1 parent 71e2ee2 commit 8500729
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ jobs:
container: python:${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- run: |
- run: |
curl -fsSL https://pgp.mongodb.com/server-7.0.asc | gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg --dearmor
echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] http://repo.mongodb.org/apt/debian $(. /etc/os-release && echo "$VERSION_CODENAME")/mongodb-org/7.0 main" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list
apt-get update && apt-get install -y mongodb-org mongodb-org-server mongodb-org-database\
mongodb-org-mongos mongodb-org-shell mongodb-org-tools && mkdir -p /data/db
mongod &
if: matrix.adapter == 'mongo'
- run: mongod &
if: matrix.adapter == 'mongo'
- run: python --version
- run: |
Expand Down Expand Up @@ -68,7 +69,8 @@ jobs:
echo "deb [ signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] http://repo.mongodb.org/apt/debian $(. /etc/os-release && echo "$VERSION_CODENAME")/mongodb-org/7.0 main" | tee /etc/apt/sources.list.d/mongodb-org-7.0.list
apt-get update && apt-get install -y mongodb-org mongodb-org-server mongodb-org-database\
mongodb-org-mongos mongodb-org-shell mongodb-org-tools && mkdir -p /data/db
mongod &
if: matrix.adapter == 'mongo'
- run: mongod &
if: matrix.adapter == 'mongo'
- run: pypy --version
- run: |
Expand Down

0 comments on commit 8500729

Please sign in to comment.