Skip to content

Initial Version

Initial Version #1

Workflow file for this run

name: PHPUnit
on:
push:
branches:
- main
tags:
- "*.*.*"
pull_request:
branches:
- main
jobs:
Build:
runs-on: 'ubuntu-latest'
container: 'byjg/php:${{ matrix.php-version }}-cli'
strategy:
matrix:
php-version:
- "8.2"
- "8.1"
- "8.0"
- "7.4"
steps:
- uses: actions/checkout@v3
- run: composer install
- run: ./vendor/bin/phpunit
# Documentation:
# runs-on: 'ubuntu-latest'
# needs: Build
# if: github.ref == 'refs/heads/main'
# env:
# DOC_GITHUB_TOKEN: '${{ secrets.DOC_TOKEN }}'
# steps:
# - uses: actions/checkout@v3
# - run: curl https://opensource.byjg.com/add-doc.sh | bash /dev/stdin php sms-client