Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 1.36 KB

CONTRIBUTING.md

File metadata and controls

67 lines (44 loc) · 1.36 KB

pytest-prefer-nested-dup-tests - Contributing

Contributions will be considered via standard Github Pull Requests.

Development Environment First Time Setup

  1. Install conda (tested w/ miniforge)

  2. cd into repo directory.

  3. Setup conda environment:

    $ conda env create --name pytest-prefer-nested-dup-tests --file ./conda-environment.yml -v
  4. Activate conda env:

    $ conda activate pytest-prefer-nested-dup-tests
  5. Install dependencies via poetry:

    $ poetry install

Development Environment Updating

  1. Update conda env:

    $ conda env update --name pytest-prefer-nested-dup-tests --file ./conda-environment.yml --prune -v
  2. Update additional dependencies via poetry:

    $ poetry install

Moving Forward Dependencies' Versions

  • Conda:
    • Manually update version pins in conda-environment.yml
  • Poetry:
    • Option 1: Manually update dependencies in pyproject.toml
    • Option 2: Use poetry update command.

Testing

A cross-python version test matrix can be run locally with tox:

    $ tox

Current python version only tests can be run locally with pytest:

    $ pytest