Skip to content

Fix get_aflow_label_from_spglib #319

Fix get_aflow_label_from_spglib

Fix get_aflow_label_from_spglib #319

Workflow file for this run

name: Tests
on:
push:
paths: ['**/*.py', .github/workflows/test.yml]
branches: [main]
pull_request:
paths: ['**/*.py', .github/workflows/test.yml]
branches: [main]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: |
pip install torch==1.13.0+cpu --extra-index-url https://download.pytorch.org/whl/cpu
pip install torch-scatter -f https://data.pyg.org/whl/torch-1.13.0+cpu.html
pip install .[test]
- name: Run Tests
run: pytest --capture=no --cov .