Skip to content

Fix tests #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
conda activate test
conda install --file requirements/run.txt
conda install --file requirements/test.txt
pip install .
pip install -e .
- name: Validate diffpy.structure
shell: bash -l {0}
run: |
conda activate test
coverage run -m pytest -vv -s
coverage run -m diffpy.structure.tests.run
coverage report -m
codecov
6 changes: 6 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: diffpy.structure
channels:
- conda-forge
dependencies:
- python=3
- pip
3 changes: 3 additions & 0 deletions requirements/run.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
numpy < 2.0.0 # Need to fix deprecations before 2.0.0 compat
pycifrw
six
2 changes: 1 addition & 1 deletion src/diffpy/structure/lattice.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import numpy
import numpy.linalg as numalg

from diffpy.structure import LatticeError
from diffpy.structure.structureerrors import LatticeError

# Helper Functions -----------------------------------------------------------

Expand Down
Loading