Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create test_notebooks.yml #11

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/test_notebooks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will install Python dependencies, run tests for a variety of python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python package

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
# daily at 06:15
- cron: 15 06 * * *


jobs:
test:
runs-on: ubuntu-latest
name: test
steps:
- uses: actions/checkout@v2

- name: install mamba
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: environment-test.yml
environment-name: mbuild-tutorials

# linux and osx
- name: run nbval
shell: bash -l {0}
run: |
python -m pytest --nbval-lax --sanitize-with nbval_sanitize.cfg --verbose