23 lines
431 B
YAML
23 lines
431 B
YAML
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!" |