Skip to content

[php 5.6] Run PHPUnit + Mess-Detector #62

[php 5.6] Run PHPUnit + Mess-Detector

[php 5.6] Run PHPUnit + Mess-Detector #62

Workflow file for this run

name: "Test & lint PHP 5.6"
run-name: "[php 5.6] Run PHPUnit + Mess-Detector"
on:
push:
permissions:
contents: read # for checkout
jobs:
run_tests_php56:
name: "[php 5.6] tests & validation"
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
- name: Setup PHP 5.6
uses: shivammathur/setup-php@v2
with:
php-version: '5.6'
- name: Install composer dependencies
uses: php-actions/composer@v6
with:
version: "2.2"
php_version: "5.6"
- name: Test the console
run: php ./bin/markdown-extended
- name: Run Mess-Detector
uses: php-actions/composer@v6
with:
version: "2.2"
php_version: "5.6"
command: run messdetector-with-baseline
- name: Run unit tests
run: php ./bin/phpunit --no-coverage --testdox