Skip to content

Commit

Permalink
Fix public-symbols-check
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Jul 30, 2024
1 parent 50cf2a9 commit ef79de4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 46 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/misc_0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,17 @@ jobs:
steps:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Checkout main
run: git checkout main

- name: Pull origin
run: git pull --rebase=false origin main

- name: Checkout pull request
run: git checkout ${{ github.event.pull_request.head.sha }}

- name: Set up Python 3.10
uses: actions/setup-python@v5
Expand All @@ -166,11 +177,6 @@ jobs:
- name: Checkout repo @ SHA - ${{ github.sha }}
uses: actions/checkout@v4

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

- name: Install tox
run: pip install tox

Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/public-api-check.yml

This file was deleted.

2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ setenv =
; override CONTRIB_REPO_SHA via env variable when testing other branches/commits than main
; i.e: CONTRIB_REPO_SHA=dde62cebffe519c35875af6d06fae053b3be65ec tox -e <env to test>
; CONTRIB_REPO_SHA={env:CONTRIB_REPO_SHA:main}
CONTRIB_REPO_SHA=d90c9d1cbee847d851f37489948db0cf858f3f7d
CONTRIB_REPO_SHA=5fc843a63272416a330e43dc02eaaecbd8ff1e4a
CONTRIB_REPO=git+https://github.com/open-telemetry/opentelemetry-python-contrib.git@{env:CONTRIB_REPO_SHA}
mypy: MYPYPATH={toxinidir}/opentelemetry-api/src/:{toxinidir}/opentelemetry-semantic-conventions/src/:{toxinidir}/opentelemetry-sdk/src/:{toxinidir}/tests/opentelemetry-test-utils/src/

Expand Down

0 comments on commit ef79de4

Please sign in to comment.