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

22 lines
554 B
YAML
Raw Normal View History

2024-09-24 20:41:15 +00:00
name: test python
2024-09-24 20:50:24 +00:00
run-name: qwe
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:53:07 +00:00
- run: python -m pip install --upgrade pip
2024-09-24 21:02:03 +00:00
- run: pip install -r requirements.txt
2024-09-24 20:53:07 +00:00
- run: python tg-bot-app/main.py