Skip to content

chore!: change namespace to Phetit\DependencyInjection #19

chore!: change namespace to Phetit\DependencyInjection

chore!: change namespace to Phetit\DependencyInjection #19

Workflow file for this run

name: Tests
on:
push:
branches: ['main']
pull_request:
branches: ['main']
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.1, 8.2]
name: PHP ${{ matrix.php }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP Action
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, xml, mbstring, zip
coverage: none
- name: Validate composer.json and composer.lock
run: composer validate --strict
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Run tests
run: vendor/bin/phpunit