Skip to content

Commit

Permalink
tox -e generate-workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
aabmass committed Dec 5, 2024
1 parent 6ddf7e2 commit 88fd4bc
Show file tree
Hide file tree
Showing 5 changed files with 710 additions and 432 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/core_contrib_test_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,50 @@ jobs:
- name: Run tests
run: tox -e py38-test-instrumentation-openai-v2-1 -- -ra

py38-test-instrumentation-vertexai-v2-0:
name: instrumentation-vertexai-v2-0
runs-on: ubuntu-latest
steps:
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
uses: actions/checkout@v4
with:
repository: open-telemetry/opentelemetry-python-contrib
ref: ${{ env.CONTRIB_REPO_SHA }}

- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: "3.8"
architecture: "x64"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e py38-test-instrumentation-vertexai-v2-0 -- -ra

py38-test-instrumentation-vertexai-v2-1:
name: instrumentation-vertexai-v2-1
runs-on: ubuntu-latest
steps:
- name: Checkout contrib repo @ SHA - ${{ env.CONTRIB_REPO_SHA }}
uses: actions/checkout@v4
with:
repository: open-telemetry/opentelemetry-python-contrib
ref: ${{ env.CONTRIB_REPO_SHA }}

- name: Set up Python 3.8
uses: actions/setup-python@v5
with:
python-version: "3.8"
architecture: "x64"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e py38-test-instrumentation-vertexai-v2-1 -- -ra

py38-test-resource-detector-container:
name: resource-detector-container
runs-on: ubuntu-latest
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/lint_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,24 @@ jobs:
- name: Run tests
run: tox -e lint-instrumentation-openai-v2

lint-instrumentation-vertexai-v2:
name: instrumentation-vertexai-v2
runs-on: ubuntu-latest
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e lint-instrumentation-vertexai-v2

lint-resource-detector-container:
name: resource-detector-container
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 88fd4bc

Please sign in to comment.