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

23 lines
580 B
YAML

name: test python
run-name: qwe
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.12', 'pypy3' ]
name: Python ${{ matrix.python-version }} sample
steps:
- uses: actions/checkout@v2
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- run: python -m pip install --upgrade pip
- run: pip install poetry
- run: poetry install --no-root
- run: python tg-bot-app/main.py