You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parametrize acceptance action with pytest parallel worker count (#730)
## Summary
- Add a new `n` input to the acceptance GitHub Action (default `10`) for
configuring pytest-xdist parallel workers. Propagates via the `PYTEST_N`
env var to `pytest_run.py`; Go tests are unaffected.
- Updated depreciated sdk methods to fix `make fmt`
## Test plan
- [x] `make fmt` passes locally
- [x] `make test` passes locally
- [x] Run the action in a downstream repo with `n: '4'` and confirm
pytest uses `-n 4`
- [x] Run the action without setting `n` and confirm default of `10`
Context: we need to be able to reduce parallel test execution in DQX as
10 parallel runs creates a high contention of testing clusters. This
would require a new release.
0 commit comments