Files
GiteaRunnerTest/.gitea/workflows/test-python.yaml

22 lines
434 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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