Skip to content

Restore deepks unit test in gamma-only case and make H_V_delta have full size of Hamiltonian in multi-k case #4940

Restore deepks unit test in gamma-only case and make H_V_delta have full size of Hamiltonian in multi-k case

Restore deepks unit test in gamma-only case and make H_V_delta have full size of Hamiltonian in multi-k case #4940

Workflow file for this run

name: Pyabacus Build and Test
on:
pull_request:
jobs:
test:
name: PyTest
runs-on: ubuntu-latest
container:
image: ghcr.io/deepmodeling/abacus-gnu
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Build Pyabacus
run: |
cd python/pyabacus
python -m pip install -v .[test]
- name: Test Pyabacus
run: |
cd python/pyabacus/tests
pytest -v