From dc9e0e8fb7f5b965621ab236142f2c0dc28b96a4 Mon Sep 17 00:00:00 2001 From: Bernd Reuther Date: Tue, 27 Oct 2026 16:06:22 +0100 Subject: [PATCH] test --- .gitea/workflows/ci.yaml | 23 +++++++++++++++++++++++ led_test.py | 1 + 2 files changed, 24 insertions(+) create mode 100644 .gitea/workflows/ci.yaml create mode 100644 led_test.py diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..abec55a --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,23 @@ +name: Raspberry Pi Labor + +on: + push: + branches: + - main + +jobs: + test: + runs-on: ubuntu-latest + + steps: + - name: Quellcode auschecken + uses: actions/checkout@v4 + + - name: Python-Version anzeigen + run: python3 --version + + - name: Python-Syntax prüfen + run: python3 -m py_compile led_test.py + + - name: Erfolgreichen Test melden + run: echo "Python-Prüfung erfolgreich!" \ No newline at end of file diff --git a/led_test.py b/led_test.py new file mode 100644 index 0000000..1a4a882 --- /dev/null +++ b/led_test.py @@ -0,0 +1 @@ +print("Hallo vom Raspberry-Pi-Labor!") \ No newline at end of file