merged with staging and added mark of azureml
This commit is contained in:
Родитель
1fb8195ff3
Коммит
9d82948249
|
@ -40,12 +40,12 @@ jobs:
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
source activate integration_cpu
|
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'
|
displayName: 'Run smoke tests'
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
source activate integration_cpu
|
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'
|
displayName: 'Run integration tests'
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
|
|
|
@ -40,12 +40,12 @@ jobs:
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
source activate integration_gpu
|
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'
|
displayName: 'Run smoke tests'
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
source activate integration_gpu
|
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'
|
displayName: 'Run integration tests'
|
||||||
|
|
||||||
- bash: |
|
- bash: |
|
||||||
|
|
|
@ -46,8 +46,8 @@ def test_similarity_embeddings_baseline_runs(notebooks, baseline_results):
|
||||||
assert results[key] == pytest.approx(value, abs=ABS_TOL)
|
assert results[key] == pytest.approx(value, abs=ABS_TOL)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.notebooks
|
|
||||||
@pytest.mark.gpu
|
@pytest.mark.gpu
|
||||||
|
@pytest.mark.integration
|
||||||
def test_similarity_senteval_local_runs(notebooks, gensen_senteval_results):
|
def test_similarity_senteval_local_runs(notebooks, gensen_senteval_results):
|
||||||
notebook_path = notebooks["senteval_local"]
|
notebook_path = notebooks["senteval_local"]
|
||||||
pm.execute_notebook(
|
pm.execute_notebook(
|
||||||
|
@ -63,7 +63,7 @@ def test_similarity_senteval_local_runs(notebooks, gensen_senteval_results):
|
||||||
assert out[key][task] == result
|
assert out[key][task] == result
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.notebooks
|
@pytest.mark.integration
|
||||||
@pytest.mark.azureml
|
@pytest.mark.azureml
|
||||||
def test_similarity_senteval_azureml_runs(notebooks, gensen_senteval_results):
|
def test_similarity_senteval_azureml_runs(notebooks, gensen_senteval_results):
|
||||||
notebook_path = notebooks["senteval_azureml"]
|
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.gpu
|
||||||
|
@pytest.mark.integration
|
||||||
def test_gensen_local(notebooks):
|
def test_gensen_local(notebooks):
|
||||||
notebook_path = notebooks["gensen_local"]
|
notebook_path = notebooks["gensen_local"]
|
||||||
pm.execute_notebook(
|
pm.execute_notebook(
|
||||||
|
|
Загрузка…
Ссылка в новой задаче