Consolidate the public defect-concentration interface #843
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: build | |
| on: [push, pull_request] | |
| jobs: | |
| tests: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| strategy: | |
| matrix: | |
| python-version: ['3.11', '3.12', '3.13', '3.14'] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python ${{matrix.python-version}} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{matrix.python-version}} | |
| - name: Install Python dependencies | |
| run: | | |
| pip install --upgrade pip | |
| pip install ".[dev]" | |
| pip list | |
| - name: Lint | |
| run: ruff check py_sc_fermi tests | |
| - name: Run tests | |
| run: pytest | |
| - name: Static type checking | |
| run: mypy py_sc_fermi |