The PyTorch example in examples/pytorch-setup is not used in integration tests in the Github CI yet.
A test would need to be added in test_integration.py for example, that uses cluv submit to launch the example, and checks that the output is what is expected. (Actually, the test could perhaps use pytest_regressions to save the output file for each cluster. Just an idea).
The test should be pretty similar to the existing test_submit, perhaps we could just parametrize and reuse this test somehow, but that is not strictly necessary. Adding a new test_submit_pytorch_setup_example function would be fine.
The PyTorch example in
examples/pytorch-setupis not used in integration tests in the Github CI yet.A test would need to be added in test_integration.py for example, that uses
cluv submitto launch the example, and checks that the output is what is expected. (Actually, the test could perhaps usepytest_regressionsto save the output file for each cluster. Just an idea).The test should be pretty similar to the existing
test_submit, perhaps we could just parametrize and reuse this test somehow, but that is not strictly necessary. Adding a newtest_submit_pytorch_setup_examplefunction would be fine.