Changed Action file 2
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 27s
Python Script Test Pipeline / Test_Python_Script (push) Failing after 1m55s

This commit is contained in:
2024-12-03 00:35:35 +01:00
parent 3dee48d25b
commit 7f491827a4

View File

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