Skip to content

chore: font size support for gravo adapter #154

chore: font size support for gravo adapter

chore: font size support for gravo adapter #154

Workflow file for this run

name: Main Workflow
on:
push:
schedule:
- cron: "0 0 * * 0"
jobs:
build:
name: Build
timeout-minutes: 10
strategy:
matrix:
python-version: [
"2.7-buster",
"3.5-buster",
"3.6-buster",
"3.7-buster",
"3.8-buster",
"3.9-buster",
"3.10-buster",
"3.11-buster",
"3.12-bookworm",
"latest",
"rc"
]
runs-on: ubuntu-latest
container: python:${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- 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
- run: mongod &
- run: python --version
- run: |
pip install -r requirements.txt
pip install -r extra.txt
if: matrix.python-version != '2.7-buster'
- run: |
pip install -r requirements.py2.txt
pip install -r extra.py2.txt
if: matrix.python-version == '2.7-buster'
- run: |
pip install black
black . --check
if: matrix.python-version == '3.12-bookworm'
- run: |
pip install pytest
pytest
- run: python setup.py test
if: matrix.python-version != '3.12-bookworm' && matrix.python-version != 'latest'
build-pypy:
name: Build PyPy
timeout-minutes: 10
strategy:
matrix:
python-version: [2.7, 3.6]
runs-on: ubuntu-latest
container: pypy:${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- 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
- run: mongod &
- run: pypy --version
- run: |
pip install -r requirements.txt
pip install -r extra.txt
if: matrix.python-version != '2.7'
- run: |
pip install -r requirements.py2.txt
pip install -r extra.py2.txt
if: matrix.python-version == '2.7'
- run: |
pip install black
black . --check
if: matrix.python-version == '3.12'
- run: |
pip install pytest
pytest
- run: pypy setup.py test
if: matrix.python-version != '3.12' && matrix.python-version != 'latest'