Update linear methods slides. #13
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
# Runs the complete test suite incl. many external command line dependencies (like Openbabel) | |
# as well as the pymatgen.ext package. Coverage is computed based on this workflow. | |
name: Tests | |
on: | |
push: | |
branches: [master] | |
paths-ignore: ["**/*.md"] | |
pull_request: | |
branches: [master] | |
paths-ignore: ["**/*.md"] | |
permissions: | |
contents: read | |
jobs: | |
test: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
python-version: ["3.11"] | |
runs-on: ${{ matrix.os }} | |
env: | |
PMG_MAPI_KEY: ${{ secrets.PMG_MAPI_KEY }} | |
MPLBACKEND: Agg # https://github.com/orgs/community/discussions/26434 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pip | |
cache-dependency-path: requirements.txt | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip wheel | |
pip install -r requirements.txt | |
- name: pytest | |
run: | | |
pytest --nbmake --nbmake-timeout=2000 lectures/notebooks/*.ipynb |