Improve robustness of openmx/md cell parsing and support new output format
#1102
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: Benchmark | |
| on: | |
| - push | |
| - pull_request | |
| jobs: | |
| benchmark: | |
| if: ${{ github.repository_owner == 'deepmodeling' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.12 | |
| - uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| cache-dependency-glob: | | |
| **/requirements*.txt | |
| **/pyproject.toml | |
| - name: Install dependencies | |
| run: uv pip install --system .[test,amber,ase,pymatgen,benchmark] rdkit openbabel-wheel | |
| - name: Run benchmarks | |
| uses: CodSpeedHQ/action@v4 | |
| with: | |
| token: ${{ secrets.CODSPEED_TOKEN }} | |
| mode: walltime | |
| run: pytest benchmark/ --codspeed |