Skip to content

Update build proto

Update build proto #13

Workflow file for this run

name: Compatibility Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
include:
# Test some common combinations
- python-version: '3.9'
protobuf-version: '4.21.1'
grpcio-version: '1.43.0'
- python-version: '3.10'
protobuf-version: '5.23.1'
grpcio-version: '1.53.0'
# Test latest versions
- python-version: '3.11'
protobuf-version: '5.23.1'
grpcio-version: '1.53.0'
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install specific version
run: |
python -m pip install --upgrade pip
python -m pip install poetry==1.8.3
# poetry add grpcio@${{ matrix.grpcio-version }}
# poetry add protobuf@${{ matrix.protobuf-version }}
- name: Install dependencies
run: |
poetry install
- name: Run tests
run: |
poetry run pytest tests -v