Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
Add workflow_dispatch to test all python versions on Github. (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
pirgeo authored Dec 16, 2022
1 parent 46022d2 commit eb34150
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
lint:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ counter.add(25, {"dimension-1": "value-1"})
To run the [example](example/basic_example.py), clone this repository and change to the `opentelemetry-metric-python` folder, then run:

```shell
pip install psutil # the example exports cpu which is retrieved using psutil, this is not required by the exporter.
pip install . # install the Dynatrace exporter
export LOGLEVEL=DEBUG # (optional) Set the log level to debug to see more output (default is INFO)
python example/basic_example.py
Expand Down Expand Up @@ -112,7 +113,7 @@ Default dimensions are overwritten by attributes passed to instruments, which in

### Requirements

Just [`tox`](https://pypi.org/project/tox/).
Just [`tox`](https://pypi.org/project/tox/). Make sure to `pip install` the `requirements-dev.txt` to get the relevant packages.

### Running tests and lint

Expand Down

0 comments on commit eb34150

Please sign in to comment.