Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Jul 16, 2024
1 parent d79ad4f commit 7bde3b7
Show file tree
Hide file tree
Showing 4 changed files with 399 additions and 49 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/contrib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1583,34 +1583,6 @@ jobs:
- name: Run tests
run: tox -e py38-test-instrumentation-celery -- -ra

py38-test-instrumentation-sklearn:
name: instrumentation-sklearn
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: Checkout Core Repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
with:
repository: open-telemetry/opentelemetry-python
path: opentelemetry-python-core

- 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-sklearn -- -ra

py38-test-instrumentation-system-metrics:
name: instrumentation-system-metrics
runs-on: ubuntu-latest
Expand Down
20 changes: 1 addition & 19 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- 'release/*'
pull_request:
env:
CORE_REPO_SHA: 141a6a2e473ef7f0ec4915dfb71e3c0fa595283e
CORE_REPO_SHA: main

jobs:

Expand Down Expand Up @@ -354,21 +354,3 @@ jobs:

- name: Run tests
run: tox -e lint-opentelemetry-test-utils

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

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

- name: Install tox
run: pip install tox

- name: Run tests
run: tox -e lint-instrumentation-sklearn
Loading

0 comments on commit 7bde3b7

Please sign in to comment.