Skip to content

Update tools.md

Update tools.md #256

Workflow file for this run

name: tests
on:
push:
branches: [ main ]
pull_request:
types: [opened, synchronize]
permissions:
contents: read
id-token: write
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
php: [8.4, 8.5]
name: PHP ${{ matrix.php }}
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: mbstring
coverage: xdebug
- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction --no-progress --no-scripts
- name: Install Copilot CLI
run: |
#curl -fsSL https://gh.io/copilot-install | bash
#copilot version
gh --version
gh copilot version
- name: Execute tests
run: composer run test:coverage
env:
COPILOT_GITHUB_TOKEN: ${{ secrets.COPILOT_GITHUB_TOKEN }}
COPILOT_CLI_PATH: "gh copilot"
- name: Code Coverage
uses: qltysh/qlty-action/coverage@v1
with:
oidc: true
files: build/logs/clover.xml