Skip to content

Update test.yml

Update test.yml #38

Workflow file for this run

name: test
on:
push:
pull_request:
types: [opened, synchronize]
jobs:
test:
name: test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP, with composer and extensions
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
with:
php-version: 8.4
extensions: mbstring
coverage: xdebug
- name: Install Composer dependencies
run: composer install -q
- name: Test & publish code coverage
uses: paambaati/codeclimate-action@v9
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
with:
coverageCommand: vendor/bin/phpunit