home-tg-bot/.gitea/workflows/publish.yml

19 lines
471 B
YAML
Raw Normal View History

2024-09-24 20:41:15 +00:00
name: test python
run-name: ${{ gitea.actor }}
2024-09-24 18:44:56 +00:00
on: [push]
2024-09-24 20:41:15 +00:00
2024-09-24 18:44:56 +00:00
jobs:
2024-09-24 20:41:15 +00:00
build:
runs-on: ubuntu-latest
strategy:
matrix:
2024-09-24 20:43:13 +00:00
python-version: [ '3.12', 'pypy3' ]
2024-09-24 20:41:15 +00:00
name: Python ${{ matrix.python-version }} sample
2024-09-24 18:44:56 +00:00
steps:
2024-09-24 20:41:15 +00:00
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
2024-09-24 20:44:27 +00:00
- run: python tg-bot-app/main.py