Skip to content

Discussion: parallel execution during nox sessions #730

Closed

Description

@staticdev

I am aware that nox does not have built-in parallel capabilities like tox -p has. There is an old open issue for that wntrblm/nox#88

But maybe we can do something to have more CPU usage during the execution an bring the time down. Adding pytest-xdist on test runs for example? Or maybe some other trick you are aware of.

Activity

  1. cjolowicz commented on Feb 18, 2021

    @cjolowicz
    Owner

    I'm hesitant about that because for all I know, it's tricky to set this up correctly with coverage. If you can figure this out, I'd be happy to take a look. Apparently this is one of the reasons that pytest-cov exists. If you go down this route, I'd like to keep using the Coverage.py interface as much as possible, rather than configuring Coverage through the pytest-cov CLI.

  2. Repository owner locked and limited conversation to collaborators on Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions