Files
BM-A0/.gitea/workflows/gitea.yaml
Johannes Kattnig 6ee8367fba
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
Update .gitea/workflows/gitea.yaml
2026-01-18 15:53:25 +01:00

30 lines
855 B
YAML

name: "Python Script Test Pipeline"
run-name: ${{ gitea.actor }} running Python script test pipeline 🚀
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:
Test_Python_Script:
runs-on: ubuntu-latest
steps:
- name: "Checkout Code"
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 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