Skip to content

Use Conda for Test Environments #24

@MutantPlatypus

Description

@MutantPlatypus

I just submitted pull request #23 to use tox for testing. I would like to build on that and use tox-conda. It would make it much easier to test across operating systems and allow new contributors to run tests locally with ease. It would also fully contain the node, npm, and git tools used in testing: It would not rely on the system installations. It also allows cairosvg to work with Windows. Tests would still be run by pytest, but conda would do all the dependency management for the test environment.

The test command would be similar to the pull request: just tox-conda instead of tox' . I would just add the nodejs and git packages to the conda dependencies.

The only downside I see is this would make miniconda a dependency for mutli-environment testing. venv and plain tox testing should still work without conda.

Edit: I got it working sooner than I expected. See PR #25.

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