Skip to content

Add required data

Add required data #16

Workflow file for this run

name: Test
on: [ push ]
jobs:
Test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: :psr, json, dom, curl, libxml, mbstring
tools: composer:v2
coverage: xdebug
- name: Install dependencies
run: composer update --no-interaction --no-progress --prefer-dist --prefer-stable
- name: Test
run: XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover ./coverage.xml
- name: Upload coverage reports
uses: codecov/codecov-action@v4
with:
files: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
- name: Store artifacts
uses: actions/upload-artifact@v4
with:
name: logs
path: |
vendor/orchestra/testbench-core/laravel/storage/logs
!vendor/**/.gitignore