Skip to content

Commit 2cd051e

Browse files
authored
Migrate benchmark tests to ubuntu-22.04 (#143)
1 parent 41c9c89 commit 2cd051e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/benchmark.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ${{ matrix.os }}
1818
strategy:
1919
matrix:
20-
os: ["macos-latest"]
20+
os: ["ubuntu-22.04"]
2121
python-version: ["3.10"]
2222
fail-fast: false
2323
steps:
@@ -28,12 +28,10 @@ jobs:
2828
python-version: ${{ matrix.python-version }}
2929
cache: 'pip'
3030
cache-dependency-path: '**/setup.cfg'
31-
- name: Start MongoDB on MacOS
32-
run: |
33-
mkdir data
34-
mongod --fork --dbpath=$(pwd)/data --logpath=$PWD/mongo.log
35-
- name: Install pkg-config
36-
run: brew install pkg-config
31+
- name: Start MongoDB
32+
uses: supercharge/[email protected]
33+
with:
34+
mongodb-version: 6.0
3735
- name: Install libbson
3836
run: |
3937
LIBBSON_INSTALL_DIR=$(pwd)/libbson ./build-libbson.sh

0 commit comments

Comments
 (0)