Skip to content

added github workflow for package release #1

added github workflow for package release

added github workflow for package release #1

Workflow file for this run

name: CI (Continuous Integration)
on:
push:
branches:
- main
- 'release/*'
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
tools: composer
- name: Validate PHP version
run: php --version
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Run tests
run: vendor/bin/phpunit