Skip to content

System integration tests for nanoDFT Demo Notebook #4

System integration tests for nanoDFT Demo Notebook

System integration tests for nanoDFT Demo Notebook #4

Workflow file for this run

name: pytest notebooks
on:
pull_request:
push:
branches: [main]
jobs:
pytest-container:
runs-on: ubuntu-latest
timeout-minutes: 10
container:
image: graphcore/pytorch:3.2.0-ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.8.10'
cache: 'pip'
- name: Install requirements
run: |
pip install -r requirements_ipu.txt
pip install .
- name: Log installed environment
run: |
python3 -m pip freeze
- name: pytest nbmake
env:
JAX_IPU_USE_MODEL: 1
JAX_IPU_MODEL_NUM_TILES: 16
run: |
pytest --nbmake notebooks/*ipynb