From c77a4fb333f9c4fcc1ffa9152f38befcfa640a03 Mon Sep 17 00:00:00 2001 From: Olivier Gorzalka Date: Mon, 21 Oct 2024 16:06:27 +0200 Subject: [PATCH] Updated test --- .github/workflows/tests.yml | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index aba3938..3c1bdcf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,25 +1,27 @@ name: Tests -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] +on: ['push', 'pull_request'] jobs: - test: + ci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v3 - - name: Setup PHP - uses: shivammathur/setup-php@v2 - with: - php-version: '8.1' + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: 8.2 + tools: composer:v2 + coverage: xdebug - - name: Install Dependencies - run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist + - name: Install Dependencies + run: composer install --no-interaction --prefer-dist --optimize-autoloader - - name: Execute tests via Pest - run: vendor/bin/pest \ No newline at end of file + - name: Tests + run: ./vendor/bin/pest + + - name: Pint + run: ./vendor/bin/pint