merged with staging and added mark of azureml

This commit is contained in:
miguelgfierro 2019-07-26 12:23:25 +01:00
Родитель 1fb8195ff3
Коммит 9d82948249
3 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -40,12 +40,12 @@ jobs:
- bash: |
source activate integration_cpu
pytest --durations=0 tests/smoke -m "smoke and not gpu" --junitxml=junit/test-smoke-test.xml
pytest --durations=0 tests/smoke -m "smoke and not gpu and not azureml" --junitxml=junit/test-smoke-test.xml
displayName: 'Run smoke tests'
- bash: |
source activate integration_cpu
pytest --durations=0 tests/integration -m "integration and not gpu" --junitxml=junit/test-integration-test.xml
pytest --durations=0 tests/integration -m "integration and not gpu and not azureml" --junitxml=junit/test-integration-test.xml
displayName: 'Run integration tests'
- bash: |

Просмотреть файл

@ -40,12 +40,12 @@ jobs:
- bash: |
source activate integration_gpu
pytest --durations=0 tests/smoke -m "smoke and gpu" --junitxml=junit/test-smoke-test.xml
pytest --durations=0 tests/smoke -m "smoke and gpu and not azureml" --junitxml=junit/test-smoke-test.xml
displayName: 'Run smoke tests'
- bash: |
source activate integration_gpu
pytest --durations=0 tests/integration -m "integration and gpu" --junitxml=junit/test-integration-test.xml
pytest --durations=0 tests/integration -m "integration and gpu and not azureml" --junitxml=junit/test-integration-test.xml
displayName: 'Run integration tests'
- bash: |

Просмотреть файл

@ -46,8 +46,8 @@ def test_similarity_embeddings_baseline_runs(notebooks, baseline_results):
assert results[key] == pytest.approx(value, abs=ABS_TOL)
@pytest.mark.notebooks
@pytest.mark.gpu
@pytest.mark.integration
def test_similarity_senteval_local_runs(notebooks, gensen_senteval_results):
notebook_path = notebooks["senteval_local"]
pm.execute_notebook(
@ -63,7 +63,7 @@ def test_similarity_senteval_local_runs(notebooks, gensen_senteval_results):
assert out[key][task] == result
@pytest.mark.notebooks
@pytest.mark.integration
@pytest.mark.azureml
def test_similarity_senteval_azureml_runs(notebooks, gensen_senteval_results):
notebook_path = notebooks["senteval_azureml"]
@ -87,8 +87,8 @@ def test_similarity_senteval_azureml_runs(notebooks, gensen_senteval_results):
)
@pytest.mark.notebooks
@pytest.mark.gpu
@pytest.mark.integration
def test_gensen_local(notebooks):
notebook_path = notebooks["gensen_local"]
pm.execute_notebook(