Skip to content

Commit

Permalink
Updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
ogorzalka committed Oct 21, 2024
1 parent 5d5d713 commit c77a4fb
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -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
- name: Tests
run: ./vendor/bin/pest

- name: Pint
run: ./vendor/bin/pint

0 comments on commit c77a4fb

Please sign in to comment.