Skip to content

dependencies updated. #68

dependencies updated.

dependencies updated. #68

Workflow file for this run

name: PHP Composer
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
environment:
name: CI
steps:
- uses: actions/checkout@v3
- name: 🔢 Validate composer.json and composer.lock
id: composer-validation
run: composer validate --strict
- name: 🔢 Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
- name: 🔢 Install dependencies
id: composer-dependencies
if: steps.composer-cache.outputs.cache-hit != 'true'
run: composer install --prefer-dist --no-progress
- name: 🗄️ Run test suite
id: phpunit-testsuite
run: |
echo "GitHub Action Run # $GITHUB_RUN_NUMBER"
composer run-script test
env:
TEST_NAME: main
XDEBUG_MODE: debug