From be164518af0d13ab7822ee8251fcc408b77b88c8 Mon Sep 17 00:00:00 2001 From: Ray Gao Date: Fri, 21 Jun 2024 16:05:16 +0000 Subject: [PATCH] add test back, remove continue-on-error --- .github/workflows/integration-test.yml | 1 - .../demo/ocpapi/tests/integration/workflows/test_adsorbates.py | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index b358fbbd7..c9b691fcc 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -41,6 +41,5 @@ jobs: pip install -e packages/fairchem-applications-cattsunami - name: Integration tests - continue-on-error: true run: | # skip-ocpapi-integration skips expensive tests with the tag "@pytest.mark.ocpapi_integration_test" pytest tests/demo/ocpapi/tests/integration/ --skip-ocpapi-integration -c ./packages/fairchem-core/pyproject.toml diff --git a/tests/demo/ocpapi/tests/integration/workflows/test_adsorbates.py b/tests/demo/ocpapi/tests/integration/workflows/test_adsorbates.py index cb63c6ca1..471d6386a 100644 --- a/tests/demo/ocpapi/tests/integration/workflows/test_adsorbates.py +++ b/tests/demo/ocpapi/tests/integration/workflows/test_adsorbates.py @@ -2,6 +2,7 @@ from typing import List from unittest import IsolatedAsyncioTestCase +import pytest import requests from fairchem.demo.ocpapi.client import AdsorbateSlabConfigs, Client, Status @@ -70,6 +71,7 @@ async def test_wait_for_adsorbate_slab_relaxations(self) -> None: # when there is a poor connection or the server is busy self.assertLess(took, 5) + @pytest.mark.ocpapi_integration_test async def test_find_adsorbate_binding_sites(self) -> None: # Run an end-to-end test to find adsorbate binding sites on the # surface of a bulk material.