Skip to content

Commit

Permalink
change sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulkhorana committed Sep 13, 2024

Verified

This commit was signed with the committer’s verified signature.
1 parent 75331aa commit 0294fa3
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sanity.yml
Original file line number Diff line number Diff line change
@@ -29,5 +29,5 @@ jobs:
working-directory: ./sanity_testing_build
run: |
pip install pytest pytest-cov
pytest tests.py
pytest test.py
14 changes: 14 additions & 0 deletions sanity_testing_build/test.py
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
import json
import random
import pytest
import subprocess
import polyatomic_complexes
import polyatomic_complexes.src.complexes as complexes
import polyatomic_complexes.experiments as experiments
@@ -116,6 +117,19 @@ def test_build(
paths = [all_paths[0]]


def run_git_lfs_pull():
result = subprocess.run(["git", "lfs", "pull"], capture_output=True, text=True)

if result.returncode == 0:
print("Git LFS pull successful.")
else:
print("Git LFS pull failed.")
print(result.stderr)


run_git_lfs_pull()


@pytest.mark.parametrize(
"build,root",
paths,

0 comments on commit 0294fa3

Please sign in to comment.