Skip to content

Commit dbef65d

Browse files
committed
Generate workflows and add to release script
1 parent 121c3af commit dbef65d

File tree

4 files changed

+145
-1
lines changed

4 files changed

+145
-1
lines changed

.github/workflows/core_contrib_test_0.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2932,3 +2932,33 @@ jobs:
29322932

29332933
- name: Run tests
29342934
run: tox -e py39-test-processor-baggage -- -ra
2935+
2936+
py39-test-opamp-client:
2937+
name: opamp-client
2938+
runs-on: ubuntu-latest
2939+
timeout-minutes: 30
2940+
steps:
2941+
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
2942+
uses: actions/checkout@v4
2943+
with:
2944+
repository: open-telemetry/opentelemetry-python-contrib
2945+
ref: ${{ env.CONTRIB_REPO_SHA }}
2946+
2947+
- name: Checkout core repo @ SHA - ${{ env.CORE_REPO_SHA }}
2948+
uses: actions/checkout@v4
2949+
with:
2950+
repository: open-telemetry/opentelemetry-python
2951+
ref: ${{ env.CORE_REPO_SHA }}
2952+
path: opentelemetry-python
2953+
2954+
- name: Set up Python 3.9
2955+
uses: actions/setup-python@v5
2956+
with:
2957+
python-version: "3.9"
2958+
architecture: "x64"
2959+
2960+
- name: Install tox
2961+
run: pip install tox-uv
2962+
2963+
- name: Run tests
2964+
run: tox -e py39-test-opamp-client -- -ra

.github/workflows/lint_0.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,3 +1265,22 @@ jobs:
12651265

12661266
- name: Run tests
12671267
run: tox -e lint-processor-baggage
1268+
1269+
lint-opamp-client:
1270+
name: opamp-client
1271+
runs-on: ubuntu-latest
1272+
timeout-minutes: 30
1273+
steps:
1274+
- name: Checkout repo @ SHA - ${{ github.sha }}
1275+
uses: actions/checkout@v4
1276+
1277+
- name: Set up Python 3.13
1278+
uses: actions/setup-python@v5
1279+
with:
1280+
python-version: "3.13"
1281+
1282+
- name: Install tox
1283+
run: pip install tox-uv
1284+
1285+
- name: Run tests
1286+
run: tox -e lint-opamp-client

.github/workflows/test_2.yml

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -961,3 +961,98 @@ jobs:
961961

962962
- name: Run tests
963963
run: tox -e pypy3-test-processor-baggage -- -ra
964+
965+
py39-test-opamp-client_ubuntu-latest:
966+
name: opamp-client 3.9 Ubuntu
967+
runs-on: ubuntu-latest
968+
timeout-minutes: 30
969+
steps:
970+
- name: Checkout repo @ SHA - ${{ github.sha }}
971+
uses: actions/checkout@v4
972+
973+
- name: Set up Python 3.9
974+
uses: actions/setup-python@v5
975+
with:
976+
python-version: "3.9"
977+
978+
- name: Install tox
979+
run: pip install tox-uv
980+
981+
- name: Run tests
982+
run: tox -e py39-test-opamp-client -- -ra
983+
984+
py310-test-opamp-client_ubuntu-latest:
985+
name: opamp-client 3.10 Ubuntu
986+
runs-on: ubuntu-latest
987+
timeout-minutes: 30
988+
steps:
989+
- name: Checkout repo @ SHA - ${{ github.sha }}
990+
uses: actions/checkout@v4
991+
992+
- name: Set up Python 3.10
993+
uses: actions/setup-python@v5
994+
with:
995+
python-version: "3.10"
996+
997+
- name: Install tox
998+
run: pip install tox-uv
999+
1000+
- name: Run tests
1001+
run: tox -e py310-test-opamp-client -- -ra
1002+
1003+
py311-test-opamp-client_ubuntu-latest:
1004+
name: opamp-client 3.11 Ubuntu
1005+
runs-on: ubuntu-latest
1006+
timeout-minutes: 30
1007+
steps:
1008+
- name: Checkout repo @ SHA - ${{ github.sha }}
1009+
uses: actions/checkout@v4
1010+
1011+
- name: Set up Python 3.11
1012+
uses: actions/setup-python@v5
1013+
with:
1014+
python-version: "3.11"
1015+
1016+
- name: Install tox
1017+
run: pip install tox-uv
1018+
1019+
- name: Run tests
1020+
run: tox -e py311-test-opamp-client -- -ra
1021+
1022+
py312-test-opamp-client_ubuntu-latest:
1023+
name: opamp-client 3.12 Ubuntu
1024+
runs-on: ubuntu-latest
1025+
timeout-minutes: 30
1026+
steps:
1027+
- name: Checkout repo @ SHA - ${{ github.sha }}
1028+
uses: actions/checkout@v4
1029+
1030+
- name: Set up Python 3.12
1031+
uses: actions/setup-python@v5
1032+
with:
1033+
python-version: "3.12"
1034+
1035+
- name: Install tox
1036+
run: pip install tox-uv
1037+
1038+
- name: Run tests
1039+
run: tox -e py312-test-opamp-client -- -ra
1040+
1041+
py313-test-opamp-client_ubuntu-latest:
1042+
name: opamp-client 3.13 Ubuntu
1043+
runs-on: ubuntu-latest
1044+
timeout-minutes: 30
1045+
steps:
1046+
- name: Checkout repo @ SHA - ${{ github.sha }}
1047+
uses: actions/checkout@v4
1048+
1049+
- name: Set up Python 3.13
1050+
uses: actions/setup-python@v5
1051+
with:
1052+
python-version: "3.13"
1053+
1054+
- name: Install tox
1055+
run: pip install tox-uv
1056+
1057+
- name: Run tests
1058+
run: tox -e py313-test-opamp-client -- -ra

scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ DISTDIR=dist
1616
mkdir -p $DISTDIR
1717
rm -rf ${DISTDIR:?}/*
1818

19-
for d in exporter/*/ opentelemetry-instrumentation/ opentelemetry-contrib-instrumentations/ opentelemetry-distro/ instrumentation/*/ processor/*/ propagator/*/ resource/*/ sdk-extension/*/ util/*/ ; do
19+
for d in exporter/*/ opentelemetry-instrumentation/ opentelemetry-contrib-instrumentations/ opentelemetry-distro/ instrumentation/*/ processor/*/ propagator/*/ resource/*/ sdk-extension/*/ util/*/ opamp/*/ ; do
2020
(
2121
echo "building $d"
2222
cd "$d"

0 commit comments

Comments
 (0)