Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.24 KB

File metadata and controls

41 lines (29 loc) · 1.24 KB

NamIntegrationTests

Integration tests for the Neural Amp Modeler trainer and core repos.

Repositories

Setup

Clone the trainer and core as siblings of this repo:

parent_dir/
├── NamIntegrationTests/
├── neural-amp-modeler/
└── NeuralAmpModelerCore/
  1. Trainer (required): Install neural-amp-modeler, e.g. pip install -e ../neural-amp-modeler, or add it to PYTHONPATH when running tests.
  2. Core (required for loadmodel tests): Build the core's loadmodel tool:
    cd ../NeuralAmpModelerCore
    cmake -B build && cmake --build build
  3. This project: pip install -e .

Running tests

pytest test/

If the trainer is not installed via pip, add it to PYTHONPATH:

PYTHONPATH=../neural-amp-modeler pytest test/

Tests that require the core's loadmodel tool are skipped if NeuralAmpModelerCore is missing or loadmodel is not built.