Skip to content

Add the notebooks and repo files #2

Add the notebooks and repo files

Add the notebooks and repo files #2

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '30 5 * * 1'
workflow_dispatch:
jobs:
test:
name: Test on ${{ matrix.os }}, Python ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macOS-latest, ubuntu-latest]
python-version: ["3.12"]
steps:
- uses: actions/checkout@v4
- name: Additional info about the build
shell: bash
run: |
uname -a
df -h
ulimit -a
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yaml
environment-name: oadmet_pxr_tutorial
condarc: |
channels:
- conda-forge
create-args: >-
python=${{ matrix.python-version }}
- name: Install notebook test dependencies
shell: bash -l {0}
run: |
python -m pip install nbmake pytest-xdist
- name: Run notebook tests
shell: bash -l {0}
run: |
pytest -n=auto --nbmake --nbmake-timeout=1200 --maxfail=0 --disable-warnings notebooks/