Skip to content

Use new action for tests #79

Use new action for tests

Use new action for tests #79

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
jobs:
phpUnitTests:
runs-on: ubuntu-latest
name: Unit Tests / PHP ${{ matrix.phpVersion }} / Winter develop
strategy:
max-parallel: 4
matrix:
phpVersion: ['8.1', '8.2', '8.3', '8.4']
steps:
- name: Setup Winter
uses: wintercms/setup-winter-action@v1
with:
php-version: ${{ matrix.phpVersion }}
plugin-author: winter
plugin-name: pages
- name: Run linting
run: ./vendor/bin/parallel-lint plugins/winter/pages
- name: Run unit tests
run: php artisan winter:test -p Winter.Pages