test actions
test python / build (push) Failing after 1s Details

This commit is contained in:
sergey 2024-09-26 21:55:06 +03:00
parent 7a712e6f14
commit 20fe6264fc
1 changed files with 2 additions and 15 deletions

View File

@ -5,22 +5,9 @@ on: [push]
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: name: build
matrix:
python-version: [ '3.12', 'pypy3' ]
name: Python ${{ matrix.python-version }} sample
steps: steps:
- uses: actions/checkout@v2 - name: build
- name: Setup python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: pip upgrade
run: python -m pip install --upgrade pip
- name: install requirements
run: pip install -r requirements.txt
- name: start bot
env: env:
TGBOT_CONFIG__TG__TOKEN: ${{ secrets.TGBOT_CONFIG__TG__TOKEN }} TGBOT_CONFIG__TG__TOKEN: ${{ secrets.TGBOT_CONFIG__TG__TOKEN }}
TGBOT_CONFIG__ZBX__TOKEN: ${{ secrets.TGBOT_CONFIG__ZBX__TOKEN }} TGBOT_CONFIG__ZBX__TOKEN: ${{ secrets.TGBOT_CONFIG__ZBX__TOKEN }}