Update .gitea/workflows/gitea.yaml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Python Script Test Pipeline / Test_Python_Script (push) Successful in 1m20s

This commit is contained in:
2026-01-18 15:53:25 +01:00
parent 04263eb5bf
commit 6ee8367fba

View File

@@ -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