Save sorted I(r) values in a file #85
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: Test | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: '0 0 1,15 * *' # JST 9:00 on 1st and 15th every month | |
| jobs: | |
| main: | |
| strategy: | |
| matrix: | |
| python-version: ['3.8', '3.13'] | |
| fail-fast: false | |
| name: Run tests with Python ${{ matrix.python-version }} | |
| runs-on: 'ubuntu-24.04' | |
| # runs-on: ${{ matrix.os }} | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: apt | |
| run: | | |
| sudo apt update | |
| sudo apt install hdf5-tools libeigen3-dev openmpi-bin libopenmpi-dev | |
| - name: pip | |
| run: | | |
| python -m pip install -U pip | |
| python -m pip install mpi4py | |
| python -m pip install dcore more-itertools pytest | |
| python -m pip freeze # for debugging | |
| - name: run | |
| run: | | |
| git submodule init | |
| git submodule update | |
| mkdir build | |
| cd build | |
| cmake .. -DTesting=ON | |
| make | |
| source ./chiqvars.sh | |
| ctest -V | |
| python -m pytest -v |