Skip to content

Fix

Fix #6

Workflow file for this run

name: Test
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Protoc
uses: arduino/setup-protoc@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel setuptools
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Build protobuf
run: |
python ./build_protobuf.py
- name: Test with pytest
run: |
pytest ./tests/