From 5cb4b4fde855abb3c34200366f50183b8763a730 Mon Sep 17 00:00:00 2001 From: Gen Tolhurst <45543810+xenct@users.noreply.github.com> Date: Mon, 8 Jul 2024 15:30:30 +1000 Subject: [PATCH] Create plotting_and_stats_example.yml --- .../workflows/plotting_and_stats_example.yml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/plotting_and_stats_example.yml diff --git a/.github/workflows/plotting_and_stats_example.yml b/.github/workflows/plotting_and_stats_example.yml new file mode 100644 index 0000000..a01cc97 --- /dev/null +++ b/.github/workflows/plotting_and_stats_example.yml @@ -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: "plotting_and_stats_examples.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) }}