Skip to content

Commit

Permalink
Ignore local package
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC committed Dec 15, 2020
1 parent fa74feb commit 2ab6422
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,8 @@ jobs:
MATERIALS_PROJECT_API_KEY: ${{ secrets.MATERIALS_PROJECT_API_KEY }}
run: |
python setup.py install
cd ~
pip install pytest
python -Wa -m pytest --pyargs crystals
python -Wa -m pytest --pyargs crystals --ignore=crystals --import-mode=importlib --verbose
- name: Build documentation
run: |
Expand Down
2 changes: 2 additions & 0 deletions crystals/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# -*- coding: utf-8 -*-

from .utils import retry_test, connection_available
2 changes: 1 addition & 1 deletion crystals/tests/test_crystal.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from crystals import Atom, AtomicStructure, CenteringType, Crystal, Lattice
from crystals.affine import rotation_matrix, transform, translation_matrix
from crystals.crystal import symmetry_expansion, symmetry_reduction
from .utils import retry_test, connection_available
from . import retry_test, connection_available

np.random.seed(23)

Expand Down
2 changes: 1 addition & 1 deletion crystals/tests/test_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from pathlib import Path
from tempfile import gettempdir
from warnings import catch_warnings, filterwarnings
from .utils import connection_available
from . import connection_available

import numpy as np
from spglib import get_symmetry_dataset
Expand Down

0 comments on commit 2ab6422

Please sign in to comment.