Skip to content

[] - Probar Pull Request Action #7

[] - Probar Pull Request Action

[] - Probar Pull Request Action #7

Workflow file for this run

name: Pull Request Action
on:
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
- name: Copy .env
run: cp .env.example .env
- name: Composer install
run: composer install --no-interaction --prefer-dist
- name: Run PHP CodeSniffer
run: ./vendor/bin/grumphp run
run_tests:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
- name: Copy .env
run: cp .env.example .env
- name: Composer install
run: composer install --no-interaction --prefer-dist
- name: Run Tests
run: ./vendor/bin/phpunit laravel/Status/Tests/StatusControllerTest.php