build: Update to allow tests to run on python 3.11
* Update so tox will allow running on the new version. * Update so the hosted runner actually respects the python version in the matrix
This commit is contained in:
11
.github/workflows/unit-tests.yml
vendored
11
.github/workflows/unit-tests.yml
vendored
@@ -57,15 +57,20 @@ jobs:
|
||||
sudo apt-get update && sudo apt-get install -y mongodb-org="${{ matrix.mongo-version }}.*"
|
||||
fi
|
||||
|
||||
- name: checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: start mongod server for tests
|
||||
run: |
|
||||
sudo mkdir -p /data/db
|
||||
sudo chmod -R a+rw /data/db
|
||||
mongod &
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: install requirements
|
||||
run: |
|
||||
sudo make test-requirements
|
||||
|
||||
Reference in New Issue
Block a user