Update .forgejo/workflows/demo.yaml
All checks were successful
/ test (push) Successful in 1s
/ hello (push) Successful in 0s
/ avoid_potential_specials (push) Successful in 1s
/ hello_replica (push) Successful in 2s

This commit is contained in:
matkoniecz 2025-02-15 10:07:52 +01:00
parent 3c90ae9ee1
commit 58ef26e5ee

View file

@ -19,7 +19,22 @@ jobs:
- name: run python script
shell: bash
run: python3 /data/matkoniecz/test.py
setup_test:
hello_replica:
runs-on: [ lain ]
steps:
- name: create test directory if does not exists
shell: bash
run: mkdir -p /data/matkoniecz
- name: create test file
shell: bash
run: echo "hello" > /data/matkoniecz/hello.txt
- name: create test Python script
shell: bash
run: echo "print(\"Snakehello\")" > /data/matkoniecz/test.py
- name: run python script
shell: bash
run: python3 /data/matkoniecz/test.py
avoid_potential_specials:
runs-on: [ lain ]
steps:
- name: wat