Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
with:
persist-credentials: false

- name: Install toml
run: pip install toml
- name: Install eachdist dependencies
run: python -m pip install -c dev-requirements.txt toml

- name: Set environment variables
run: |
Expand Down
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ You can run `tox` with the following arguments:
- `tox -e ruff` to run ruff linter and formatter checks against the entire codebase
- `tox -e typecheck` to run pyright against entire code base.
- `tox -e public-symbols-check` to run public_symbols_checker.py.
- `tox -e eachdist -- <arguments>` to run `scripts/eachdist.py` in an isolated environment,
for example `tox -e eachdist -- version --mode stable`.
- `tox -e docker-tests-{otlpexporter,opencensus}` to run tests in both or either one location.
- `tox -e tracecontext` to run integration tests for tracecontext.
- `tox -e precommit` to run all `pre-commit` actions
Expand Down
1 change: 1 addition & 0 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,5 @@ psutil==7.2.2
GitPython==3.2.1
pre-commit==3.7.0
ruff==0.16.1
toml==0.10.2
testcontainers==4.13.3
8 changes: 8 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,14 @@ commands =
python {toxinidir}/scripts/griffe_check.py
python {toxinidir}/scripts/public_symbols_checker.py

[testenv:eachdist]
deps =
-c {toxinidir}/dev-requirements.txt
toml
commands_pre =
commands =
python {toxinidir}/scripts/eachdist.py {posargs:--help}

[testenv:generate-workflows]
deps =
tox
Expand Down
Loading