From 05eb01cabd9c0e19ad070c9cc379d6992d6afc64 Mon Sep 17 00:00:00 2001 From: Henry Webel Date: Tue, 28 May 2024 13:46:04 +0000 Subject: [PATCH] :test_tube: add failing tutorial execution KeyError: 'array'? (Python 3.10) --- .github/workflows/test_tutorial.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test_tutorial.yaml diff --git a/.github/workflows/test_tutorial.yaml b/.github/workflows/test_tutorial.yaml new file mode 100644 index 0000000..dd3091b --- /dev/null +++ b/.github/workflows/test_tutorial.yaml @@ -0,0 +1,27 @@ +name: Test tutorial + +on: + - push + +jobs: + format: + name: Check tutorial + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: "3.11" + + - name: Install Claster requirements + run: | + pip install numpy pandas matplotlib jupyter ipykernel eir-dl + - name: Run papermill for cmd-line execution of notebooks + run: | + pip install papermill + - name: Test Tutorial + run: | + cd scripts + papermill 0_Tutorial.ipynb 0_Tutorial_out.ipynb +