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