From 6ee8367fba6f76ca6f63a9abd11e9703eb4c1f4b Mon Sep 17 00:00:00 2001 From: Johannes Kattnig Date: Sun, 18 Jan 2026 15:53:25 +0100 Subject: [PATCH] Update .gitea/workflows/gitea.yaml --- .gitea/workflows/gitea.yaml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/gitea.yaml b/.gitea/workflows/gitea.yaml index 06b8cbe..cef3f17 100644 --- a/.gitea/workflows/gitea.yaml +++ b/.gitea/workflows/gitea.yaml @@ -5,6 +5,7 @@ on: push: schedule: # 14:50 UTC is 15:50 in Austria + # You can change this back to '0 2 * * *' (3 AM) once testing is done - cron: '50 14 * * *' jobs: @@ -12,17 +13,18 @@ jobs: runs-on: ubuntu-latest steps: - name: "Checkout Code" - uses: actions/checkout@v3 # Checkout the code - - name: "Set up Python" + uses: actions/checkout@v3 + + - name: "Install Python & Libraries" + # Using apt is much faster on Pi and avoids PEP 668 errors run: | apt-get update - apt-get install -y python3 python3-pip - - name: "Install Python Libraries" - run: | - pip3 install numpy imageio scikit-image scipy + apt-get install -y python3 python3-pip python3-numpy python3-imageio python3-skimage python3-scipy + - name: "Run Python Script" run: | python3 interpolation_error.py > output.txt + - name: "Compare Output" run: | - diff output.txt reference_output.txt + diff output.txt reference_output.txt \ No newline at end of file