Skip to content

Commit

Permalink
Enable PYTHON_LOG_TO_STDOUT=true in CI tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Sep 15, 2023
1 parent c82323e commit fcf7ee3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/mediasoup-client-aiortc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
# NOTE: Avoid lint:python due to
# https://github.com/versatica/mediasoup-client-aiortc/issues/25
- run: npm run lint:node
- run: npm run test
- run: PYTHON_LOG_TO_STDOUT=true npm run test
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,15 +256,20 @@ When sending, `dataChannel.send()` (and hence `dataProducer.send()`) allows pass
## Development
In order to run `npm run lint` task, the following Python dependencies are required:
### Lint task
- `flake8` >= 5.0.4
- `mypy` >= 0.982
In order to run `npm run lint` task, install Python dev dependencies:
```bash
$ npm run install-python-dev-deps
```
### Make Python log to stdout/stderr while running tests
```bash
PYTHON_LOG_TO_STDOUT=true npm run test
```
### Issue with Python >= 3.11
See https://github.com/versatica/mediasoup-client-aiortc/issues/22.
Expand Down

0 comments on commit fcf7ee3

Please sign in to comment.