Skip to content

v4.0.5

v4.0.5 #87

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 ${{ matrix.winterRelease }}
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: redirect
- name: Run linting
run: ./vendor/bin/parallel-lint plugins/winter/redirect
- name: Run unit tests
run: php artisan winter:test -p Winter.Redirect