Skip to content

Commit

Permalink
Eac/smoke (#34)
Browse files Browse the repository at this point in the history
* added backdoor to run smoke test

* updated smoke test

* updated smoke test tabbing

* actually run nb

* switch to workflow_dispatch
  • Loading branch information
eacharles committed Jun 15, 2023
1 parent fccebda commit 82b0968
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ name: Unit test smoke test
on:
schedule:
- cron: 45 6 * * *
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'smoke tests'


jobs:
build:
Expand All @@ -25,6 +34,7 @@ jobs:
run: |
sudo apt-get update
python -m pip install --upgrade pip
pip install wheel numpy
pip install .
pip install .[dev]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
Expand All @@ -33,5 +43,6 @@ jobs:
python -m pytest tests
- name: Run notebooks
run: |
rail render-nb
rail render-nb examples/*_examples/*.ipynb

0 comments on commit 82b0968

Please sign in to comment.