Skip to content

Move NativeTypeSourceTest to tests/Integration (#671) #723

Move NativeTypeSourceTest to tests/Integration (#671)

Move NativeTypeSourceTest to tests/Integration (#671) #723

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
unit:
runs-on: ubuntu-latest
strategy:
matrix:
php: ['8.4', '8.5', '8.6']
name: Unit Tests - ${{ matrix.php }}
steps:
- uses: actions/checkout@v7
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: pcov
- name: Install dependencies
run: composer install --prefer-dist --no-progress
- name: Install fixture dependencies
run: composer install --prefer-dist --no-progress --working-dir=tests/Fixtures
- name: Run PHPUnit
run: composer unit
--
--coverage-clover coverage.xml
--log-junit junit.xml
- name: Upload coverage reports to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test reports to Codecov
if: ${{ !cancelled() }}
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
report_type: test_results