Skip to content

Bot api 7.2 support #59

Bot api 7.2 support

Bot api 7.2 support #59

Workflow file for this run

name: PHPUnit
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
concurrency:
group: telebot
jobs:
test:
name: PHP 8.0
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.0'
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Execute tests (Unit and Feature tests) via PHPUnit
env:
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
TELEGRAM_USER_ID: ${{ secrets.TELEGRAM_USER_ID }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
run: vendor/bin/phpunit --testdox