File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 strategy :
2929 fail-fast : false
3030 matrix :
31- os : [ macos-13 , macos-14, macos-12 ]
31+ os : [ ubuntu-latest , macos-13, windows-latest ]
3232 runs-on : ${{ matrix.os }}
3333 timeout-minutes : 30
3434 steps :
6161 fail-fast : false
6262 matrix :
6363 # https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs
64- os : [macos-13 , macos-14, macos-12 ]
64+ os : [ ubuntu-latest , macos-13, windows-latest ]
6565 python : [ '3.10', '3.11']
6666 runs-on : ${{ matrix.os }}
6767 timeout-minutes : 30
9292 run : tox -vv --notest
9393 - name : Run test suite
9494 run : tox --skip-pkg-install
95+
96+ py_3x_proto_25x :
97+ strategy :
98+ fail-fast : false
99+ matrix :
100+ os : [ubuntu-latest, macos-latest, windows-latest]
101+ runs-on : ${{ matrix.os }}
102+ timeout-minutes : 30
103+ steps :
104+ - uses : actions/checkout@v4
105+ with :
106+ fetch-depth : 0
107+ - uses : actions/setup-python@v5
108+ with :
109+ python-version : 3.x
110+ architecture : x64
111+ cache : pip
112+ - name : Install Protoc
113+ uses : arduino/setup-protoc@v3
114+ with :
115+ version : 25.x
116+ repo-token : ${{ secrets.GITHUB_TOKEN }}
117+ - name : install dependencies
118+ run : |
119+ pip install --upgrade pip
120+ pip install -e '.[ci]'
121+ pip --version
122+ pip freeze
123+ - name : Setup test suite
124+ run : tox -vv --notest
125+ - name : Run test suite
126+ run : tox --skip-pkg-install
Original file line number Diff line number Diff line change 99 hooks :
1010 - id : black
1111 - repo : https://github.com/charliermarsh/ruff-pre-commit
12- rev : " v0.2.0 "
12+ rev : " v0.6.2 "
1313 hooks :
1414 - id : ruff
1515 - repo : https://github.com/asottile/pyupgrade
16- rev : v3.15 .0
16+ rev : v3.17 .0
1717 hooks :
1818 - id : pyupgrade
1919 args : [ '--py38-plus' ]
2424 args : [ '--only', 'pyproject.toml,tox.ini' ]
2525 verbose : true
2626 - repo : https://github.com/pre-commit/pre-commit-hooks
27- rev : v4.5 .0
27+ rev : v4.6 .0
2828 hooks :
2929 - id : check-yaml
3030 - id : end-of-file-fixer
Original file line number Diff line number Diff line change 77
88import pytest
99import requests
10+
1011from proto_topy import (
1112 CompilationFailed ,
1213 DelimitedMessageFactory ,
You can’t perform that action at this time.
0 commit comments