Skip to content

Commit 966750a

Browse files
authored
add contrib openai-v2 instrumentation workflow (#4239)
Signed-off-by: emdneto <[email protected]>
1 parent 5de1ccb commit 966750a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/contrib_0.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,34 @@ env:
1616

1717
jobs:
1818

19+
py38-test-instrumentation-openai-v2:
20+
name: instrumentation-openai-v2
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
24+
uses: actions/checkout@v4
25+
with:
26+
repository: open-telemetry/opentelemetry-python-contrib
27+
ref: ${{ env.CONTRIB_REPO_SHA }}
28+
29+
- name: Checkout core repo @ SHA - ${{ github.sha }}
30+
uses: actions/checkout@v4
31+
with:
32+
repository: open-telemetry/opentelemetry-python
33+
path: opentelemetry-python-core
34+
35+
- name: Set up Python 3.8
36+
uses: actions/setup-python@v5
37+
with:
38+
python-version: "3.8"
39+
architecture: "x64"
40+
41+
- name: Install tox
42+
run: pip install tox
43+
44+
- name: Run tests
45+
run: tox -e py38-test-instrumentation-openai-v2 -- -ra
46+
1947
py38-test-resource-detector-container:
2048
name: resource-detector-container
2149
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)