Skip to content

Commit

Permalink
Create examples_run.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JustGlowing committed Jan 17, 2024
1 parent 749855b commit 8827551
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/examples_run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Execute notebook

on: [push]

jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
- uses: yaananth/run-notebook@v2
env:
RUNNER: ${{ toJson(runner) }}
SECRETS: ${{ toJson(secrets) }}
GITHUB: ${{ toJson(github) }}
with:
notebook: "PATHTONOTEBOOK.ipynb"
params: "PATHTOPARAMS.json"
isReport: False
poll: True
- uses: actions/upload-artifact@v3
if: always()
with:
name: output
path: ${{ RUNNER.temp }}/nb-runner
env:
RUNNER: ${{ toJson(runner) }}

0 comments on commit 8827551

Please sign in to comment.