Skip to content
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.h5 filter=lfs diff=lfs merge=lfs -text
22 changes: 21 additions & 1 deletion .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# windows-latest is not supported because pyscf is not supported on windows
# https://pyscf.org/user/install.html
os: ["ubuntu-latest", "macos-latest"]
py: ["3.9", "3.10", "3.11", "3.12"]
py: ["3.10", "3.11", "3.12"]

steps:
- uses: "actions/checkout@v4"
Expand All @@ -28,6 +28,23 @@ jobs:
with:
python-version: ${{ matrix.py }}

- name: Install system dependencies for PyTables (Linux/macOS)
run: |
python -m pip install --upgrade pip wheel
pip install numpy==1.26.4
if [[ "$RUNNER_OS" == "Linux" ]]; then
sudo apt-get update
sudo apt-get install -y libhdf5-dev libblosc-dev
elif [[ "$RUNNER_OS" == "macOS" ]]; then
export HOMEBREW_NO_INSTALL_CLEANUP=1
brew update
brew install hdf5 c-blosc
export CPATH="$(brew --prefix hdf5)/include:$(brew --prefix c-blosc)/include:$CPATH"
export LIBRARY_PATH="$(brew --prefix hdf5)/lib:$(brew --prefix c-blosc)/lib:$LIBRARY_PATH"
export HDF5_DIR="$(brew --prefix hdf5)"
fi


- name: Install development version
run: |
pip install -v .
Expand All @@ -37,6 +54,7 @@ jobs:
pip install --upgrade pip
pip install .[test_extra]


- name: Run pytest default tests
uses: pavelzw/pytest-action@v2
with:
Expand All @@ -59,3 +77,5 @@ jobs:
click-to-expand: true
report-title: 'Dev Test Report'
pytest-args: '-m dev'


Binary file modified atomdb/data/database_beta_1.3.0.h5
Binary file not shown.
3 changes: 3 additions & 0 deletions atomdb/data/elements_data.h5
Git LFS file not shown
Loading
Loading