Remove unused NaN_d import from test_stdface_main_helpers.py #56
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: CI | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| - cron: '0 0 1,15 * *' # JST 9:00 on 1st and 15th every month | |
| jobs: | |
| ctest: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: make workspace | |
| run: cmake -E make_directory ${{runner.workspace}}/build | |
| - name: cmake | |
| working-directory: ${{runner.workspace}}/build | |
| shell: bash | |
| run: cmake -DHPHI=ON -DMVMC=ON -DHWAVE=ON -DUHF=ON -DCMAKE_VERBOSE_MAKEFILE=ON $GITHUB_WORKSPACE | |
| - name: build | |
| working-directory: ${{runner.workspace}}/build | |
| shell: bash | |
| run: cmake --build ./ -j4 | |
| - name: ctest | |
| working-directory: ${{runner.workspace}}/build | |
| shell: bash | |
| run: ctest -V | |
| pytest: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| python-version: ['3.10', '3.12'] | |
| fail-fast: false | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: pip install numpy pytest | |
| - name: Run unit tests | |
| run: python -m pytest test/unit/ -v |