Adjust contrib namespace #98
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run python tests | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
python-version: [3.11, 3.12] | |
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 dependencies | |
run: | | |
sudo apt update | |
sudo apt -y install build-essential python3-dev g++ libprotobuf-dev cmake | |
python -m pip install --upgrade pip setuptools | |
python -m pip install poetry | |
poetry install --no-root | |
- name: Compile Protobufs | |
run: | | |
poetry run python utils/download_protobufs.py | |
poetry install | |
- name: Test with pytest | |
run: | | |
poetry run pytest --spec -vvv |