Update .forgejo/workflows/demo.yaml
This commit is contained in:
parent
3c90ae9ee1
commit
58ef26e5ee
1 changed files with 16 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue