more specific tests for extra-packages
@@ -53,7 +53,7 @@ outputs:
imports:
- tango
commands:
- - pytest -v tests/
+ - pytest -v --ignore=tests/integrations tests/
- name: tango-all
requirements:
@@ -80,9 +80,15 @@ outputs:
- {{ pin_subpackage('tango', exact=True) }}
- datasets >=1.12,<1.16
test:
- # TODO: more specific tests?
imports:
- - tango
+ - tango.integrations.datasets
+ requires:
+ - pytest
+ source_files:
+ - test_fixtures/
+ - tests/
+ commands:
+ - pytest -v tests/integrations/datasets
- name: tango-pytorch_lightning
requirements:
@@ -94,9 +100,15 @@ outputs:
- pytorch >=1.9.0,<1.11.0
- pytorch-lightning >=1.4.0,<1.5.0
test:
- # TODO: more specific tests?
imports:
- - tango
+ - tango.integrations.pytorch_lightning
+ requires:
+ - pytest
+ source_files:
+ - test_fixtures/
+ - tests/
+ commands:
+ - pytest -v tests/integrations/pytorch_lightning
- name: tango-torch
requirements:
@@ -108,9 +120,15 @@ outputs:
- numpy
- pytorch >=1.9.0,<1.11.0
test:
- # TODO: more specific tests?
imports:
- - tango
+ - tango.integrations.torch
+ requires:
+ - pytest
+ source_files:
+ - test_fixtures/
+ - tests/
+ commands:
+ - pytest -v tests/integrations/torch
- name: tango-wandb
requirements:
@@ -121,9 +139,15 @@ outputs:
- {{ pin_subpackage('tango', exact=True) }}
- wandb >=0.12,<0.13
test:
- # TODO: more specific tests?
imports:
- - tango
+ - tango.integrations.wandb
+ requires:
+ - pytest
+ source_files:
+ - test_fixtures/
+ - tests/
+ commands:
+ - pytest -v tests/integrations/wandb
about:
home: https://github.com/allenai/tango
