Files
BM-A0/.gitea/workflows/gitea.yaml
Workflow config file is invalid. Please check your config file: yaml: line 3: did not find expected key
Johannes Kattnig 3dee48d25b
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 40s
Changed Action file
2024-12-03 00:30:17 +01:00

27 lines
638 B
YAML

name: "Python Script Test Pipeline"
run-name: ${{ gitea.actor }} running Python script test pipeline 🚀
on: [push]
branches:
- main # Trigger on push to the "main" branch
jobs:
Test_Python_Script:
runs-on: ubuntu-latest
steps:
- name: "Checkout Code"
uses: actions/checkout@v3 # Checkout the code
- name: "Set up Python"
run: |
apt-get update
apt-get install -y python3 python3-pip
- name: "Run Python Script"
run: |
python3 script.py > output.txt
- name: "Compare Output"
run: |
diff output.txt reference_output.txt