From 10f0b47bb03d9957dec747358916cb8923450397 Mon Sep 17 00:00:00 2001 From: Carlos Paniagua Date: Thu, 26 Sep 2024 12:55:12 -0400 Subject: [PATCH] experiment: add GitHub Actions workflow to test Julia notebooks --- .github/workflows/exercise-nb.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/exercise-nb.yml diff --git a/.github/workflows/exercise-nb.yml b/.github/workflows/exercise-nb.yml new file mode 100644 index 00000000..8c49600c --- /dev/null +++ b/.github/workflows/exercise-nb.yml @@ -0,0 +1,25 @@ +name: Test Julia Notebooks + +on: [push, pull_request] + +jobs: + run-notebooks: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Install Julia + uses: julia-actions/setup-julia@v1 + with: + version: '1.9' # You can specify the Julia version here + + - name: Install dependencies + run: | + julia -e 'using Pkg; Pkg.activate(".")' # Installs the Julia dependencies from Project.toml + + - name: Run Jupyter Notebooks + uses: yaananth/run-notebook@v2 + with: + notebook: 'notebooks/preprocessing-workflow/tiling.ipynb'