Skip to content

Add mention for universal anisotropy factor #99

Add mention for universal anisotropy factor

Add mention for universal anisotropy factor #99

Workflow file for this run

name: Run tests and upload coverage
on:
push
jobs:
test:
name: Run tests and collect coverage
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov codecov pymatgen
- name: Install project and its dependencies
run: pip install -e .[dev] # Installe Elasticipy et les dépendances dev
- name: Run tests
env:
MP_API_KEY: ${{ secrets.MP_TOKEN }}
run: pytest tests
- name: Upload results to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: DorianDepriester/Elasticipy
flags: ${{ matrix.python-version }}
name: python-${{ matrix.python-version }}