Fixes #10 by adding infrastructure for CI testing.
I've added the functionality for a pytest mark to indicate tests that are slow (which we want to run on review rather than for every commit). A test can be flagged as slow with the decorator @pytest.mark.slow, and an entire test file can be marked as slow by setting the global variable pytestmark = 'slow'
The unit tests are run in a miniconda env set up to use our environment.yaml, and the slow integration tests are run on bare metal over all Python versions that Python actively supports (3.10, 3.11, 3.12).
Fixes #10 by adding infrastructure for CI testing.
I've added the functionality for a pytest
mark
to indicate tests that are slow (which we want to run on review rather than for every commit). A test can be flagged as slow with the decorator@pytest.mark.slow
, and an entire test file can be marked as slow by setting the global variablepytestmark = 'slow'
The unit tests are run in a miniconda env set up to use our
environment.yaml
, and the slow integration tests are run on bare metal over all Python versions that Python actively supports (3.10, 3.11, 3.12).