Skip to content

Fixing several small documentation bugs #16

Fixing several small documentation bugs

Fixing several small documentation bugs #16

Workflow file for this run

# This workflow will generate a Python protobuf bindings and type stubs with Maven and run Python tests.
name: Python CI with Maven and Pytest
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:
jobs:
run-python-ci:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Generate Python bindings with Maven
run: ./mvnw -B package -DskipTests # we run tests elsewhere
- name: Install Python bindings
run: |
cd python && python3 -m pip install .[test]
- name: Run Python tests
run: |
cd python && pytest