Skip to content

chore: update ci to use qlty #74

chore: update ci to use qlty

chore: update ci to use qlty #74

Workflow file for this run

name: CI
on: [push]
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.2"
- name: Install dependencies
uses: php-actions/composer@v6
with:
version: 2.5.5
- name: Test & Coverage
uses: qltysh/qlty-action/coverage@v2
with:
token: ${{ secrets.QLTY_COVERAGE_TOKEN }}
files: coverage/clover.xml
command: ./.github/scripts/run-phpunit.sh
verbose: true
- name: Clean up GitHub workspace
uses: docker://ubuntu:latest
with:
args: find /github/workspace/. -name . -o -prune -exec rm -rf -- {} +