From 94e240588fc702d8182710ec85c8cf121eee404e Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Wed, 12 Nov 2025 14:32:11 +0000 Subject: [PATCH 1/4] Try adding testing in --- .github/workflows/build.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2be0e12..01cdea2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -53,13 +53,13 @@ jobs: tags: ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }} outputs: type=docker,push-by-digest=true,name-canonical=true,push=true - #- name: Run tests - # if: github.event_name == 'pull_request' - # shell: bash - # run: | - # docker run -t ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}:latest bash -c " \ - # pip install pytest nbmake; \ - # find . -name '*.ipynb' | pytest --nbmake --nbmake-timeout=3600; " + - name: Run tests + if: github.event_name == 'pull_request' + shell: bash + run: | + docker run -t ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}:latest bash -c " \ + pip install pytest nbmake; \ + find . -name '*.ipynb' | pytest --nbmake --nbmake-timeout=3600; " - name: Authenticate with GHCR if: github.event_name != 'pull_request' @@ -81,13 +81,13 @@ jobs: tags: ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }} outputs: type=image,push-by-digest=true,name-canonical=true,push=true - #- name: Run tests - # if: github.event_name != 'pull_request' - # shell: bash - # run: | - # docker run -t ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}@${{ steps.build.outputs.digest }} bash -c " \ - # pip install pytest nbmake; \ - # find . -name '*.ipynb' | pytest --nbmake --nbmake-timeout=3600; " + - name: Run tests + if: github.event_name != 'pull_request' + shell: bash + run: | + docker run -t ghcr.io/${{ vars.ORG_REPO }}/${{ github.event.repository.name }}@${{ steps.build.outputs.digest }} bash -c " \ + pip install pytest nbmake; \ + find . -name '*.ipynb' | pytest --nbmake --nbmake-timeout=3600; " - name: Export digest if: github.event_name != 'pull_request' From 53a7ed3ee5dce673f18e2cfcf31fda10d24655c8 Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Wed, 14 Jan 2026 15:33:12 +0000 Subject: [PATCH 2/4] Update build.yaml to disable linux/arm64 platform Commented out the linux/arm64 platform from the build matrix. --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 01cdea2..8c7a646 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -13,7 +13,7 @@ jobs: matrix: platform: - linux/amd64 - - linux/arm64 + #- linux/arm64 runs-on: ${{ matrix.platform == 'linux/amd64' && 'ubuntu-24.04' || matrix.platform == 'linux/arm64' && 'ubuntu-24.04-arm' }} name: build ${{ matrix.platform }} outputs: From 38e2c01c6f51196848832f2cd08c586a991d54e9 Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Thu, 15 Jan 2026 10:29:00 +0000 Subject: [PATCH 3/4] Add node cleanup step in build workflow Add cleanup step for node environment before build. --- .github/workflows/build.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8c7a646..4965ae4 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -19,6 +19,12 @@ jobs: outputs: tag: ${{ steps.envvars.outputs.tag }} steps: + - name: "node-cleanup" + run: | + sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL + sudo docker image prune --all --force + sudo docker builder prune -a + - name: checkout uses: actions/checkout@v5.0.0 From 2b45f2508556d5977b4a345ae0a7f0807a51118c Mon Sep 17 00:00:00 2001 From: James Gebbie-Rayet Date: Thu, 15 Jan 2026 11:54:42 +0000 Subject: [PATCH 4/4] Disable push event trigger for CI workflow Remove trigger on main, our main is protected so comes only by PR --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d62268b..9e20d3e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -5,7 +5,7 @@ concurrency: cancel-in-progress: true on: - push: { branches: [ "main" ] } + #push: { branches: [ "main" ] } pull_request: { branches: [ "main" ] } jobs: