Skip to content

Commit 5052584

Browse files
committed
add typechecking and linting for json codegen package
1 parent ffa7a16 commit 5052584

18 files changed

Lines changed: 778 additions & 347 deletions

File tree

.github/workflows/lint_0.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,44 @@ jobs:
7070
- name: Run tests
7171
run: tox -e lint-opentelemetry-proto-gen-latest
7272

73+
lint-opentelemetry-protojson-gen-latest:
74+
name: opentelemetry-protojson-gen-latest
75+
runs-on: ubuntu-latest
76+
timeout-minutes: 30
77+
steps:
78+
- name: Checkout repo @ SHA - ${{ github.sha }}
79+
uses: actions/checkout@v4
80+
81+
- name: Set up Python 3.14
82+
uses: actions/setup-python@v5
83+
with:
84+
python-version: "3.14"
85+
86+
- name: Install tox
87+
run: pip install tox-uv
88+
89+
- name: Run tests
90+
run: tox -e lint-opentelemetry-protojson-gen-latest
91+
92+
lint-opentelemetry-codegen-json:
93+
name: opentelemetry-codegen-json
94+
runs-on: ubuntu-latest
95+
timeout-minutes: 30
96+
steps:
97+
- name: Checkout repo @ SHA - ${{ github.sha }}
98+
uses: actions/checkout@v4
99+
100+
- name: Set up Python 3.14
101+
uses: actions/setup-python@v5
102+
with:
103+
python-version: "3.14"
104+
105+
- name: Install tox
106+
run: pip install tox-uv
107+
108+
- name: Run tests
109+
run: tox -e lint-opentelemetry-codegen-json
110+
73111
lint-opentelemetry-sdk:
74112
name: opentelemetry-sdk
75113
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)