From 3863b491791edc0ab17b9f3dc1629354befcac94 Mon Sep 17 00:00:00 2001 From: Ali RajabNezhad Date: Tue, 13 Feb 2024 04:10:04 +0330 Subject: [PATCH] Fix `motor` in workflows --- .github/workflows/pull_request.yaml | 6 ++---- .github/workflows/release.yaml | 13 +++++-------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index 739f2688..959a6b52 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -23,10 +23,8 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt - - name: Install pymongo - run: | - pip uninstall -y bson - pip install pymongo + - name: Install motor + run: pip install motor - name: Start MongoDB uses: supercharge/mongodb-github-action@1.10.0 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a7506384..77496090 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -103,10 +103,8 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt - - name: Install pymongo - run: | - pip uninstall -y bson - pip install pymongo + - name: Install motor + run: pip install motor - name: Start MongoDB uses: supercharge/mongodb-github-action@1.10.0 @@ -135,10 +133,9 @@ jobs: python -m pip install --upgrade pip pip install -r requirements.txt - - name: Install pymongo - run: | - pip uninstall -y bson - pip install pymongo + + - name: Install motor + run: pip install pymongo - name: Start MongoDB uses: supercharge/mongodb-github-action@1.10.0