Skip to content

Commit

Permalink
add test back, remove continue-on-error
Browse files Browse the repository at this point in the history
  • Loading branch information
rayg1234 committed Jun 21, 2024
1 parent 6a5efac commit be16451
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit be16451

Please sign in to comment.