Тестирование runner
This commit is contained in:
21
.gitea/workflows/test-python.yaml
Normal file
21
.gitea/workflows/test-python.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Test Python Runner
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
python-job:
|
||||
runs-on: ubuntu-latest # должен совпадать с label runner
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install Python
|
||||
run: |
|
||||
sudo apt update
|
||||
sudo apt install -y python3 python3-pip
|
||||
|
||||
- name: Run Python script
|
||||
run: python3 script/hello.py
|
||||
Reference in New Issue
Block a user