source_estate: decouple Charge from PARAM, plus two setters on XC_Functional — removes charge_test's two access hacks (touches module_xc) #11209
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pyabacus Build and Test | |
| on: | |
| pull_request: | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| test: | |
| name: PyTest | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/deepmodeling/abacus-gnu | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7.0.1 | |
| - name: Set up Python | |
| uses: actions/setup-python@v7 | |
| 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 |