test: test the if the index_map (when type_map is provided) works in … #9
Workflow file for this run
This file contains 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: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- run: curl -LsSf https://astral.sh/uv/install.sh | sh | |
- name: Install dependencies | |
run: uv pip install --system .[test,amber,ase,pymatgen,benchmark] rdkit openbabel-wheel | |
- name: Run benchmarks | |
uses: CodSpeedHQ/action@v3 | |
with: | |
token: ${{ secrets.CODSPEED_TOKEN }} | |
run: pytest benchmark/ --codspeed |