replace the use of protobuf GetMessages
with descriptor_pool
and …
#62
Workflow file for this run
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: test | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 8 * * *" | |
jobs: | |
py_39_proto_203: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest, macos-latest, windows-latest ] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.9 | |
architecture: x64 | |
cache: pip | |
- name: Install Protoc | |
uses: arduino/[email protected] | |
with: | |
version: 3.20.3 | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install --progress-bar=off -r requirements/ci.txt | |
pip --version | |
tox --version | |
protoc --version | |
pip freeze | |
- name: Setup test suite | |
run: tox -vv --notest | |
- name: Run test suite | |
run: | | |
tox -e check --skip-pkg-install | |
tox --skip-pkg-install | |
py_31x_proto_252: | |
strategy: | |
fail-fast: false | |
matrix: | |
# https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
python: [ '3.10', '3.11'] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
# https://github.com/actions/checkout | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
# https://github.com/actions/setup-python | |
with: | |
python-version: ${{ matrix.python }} | |
architecture: x64 | |
cache: pip | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
# https://github.com/arduino/setup-protoc | |
with: | |
version: 25.2 | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install --progress-bar=off -r requirements/ci.txt | |
pip --version | |
tox --version | |
protoc --version | |
pip freeze | |
- name: Setup test suite | |
run: tox -vv --notest | |
- name: Run test suite | |
run: | | |
tox -e check --skip-pkg-install | |
tox --skip-pkg-install | |
py_3x_proto_25x: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
architecture: x64 | |
cache: pip | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v3 | |
with: | |
version: 25.x | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install --progress-bar=off -r requirements/ci.txt | |
pip --version | |
tox --version | |
protoc --version | |
pip freeze | |
- name: Setup test suite | |
run: tox -vv --notest | |
- name: Run test suite | |
run: | | |
tox -e check --skip-pkg-install | |
tox --skip-pkg-install |