mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-02 10:07:22 +09:00
42 lines
1.2 KiB
YAML
42 lines
1.2 KiB
YAML
name: F5 Cpu Coverage
|
|
|
|
on:
|
|
push:
|
|
branches: [develop]
|
|
paths:
|
|
- '.github/workflows/script-coverage.yml'
|
|
- '.github/workflows/f5-cpu-coverage.yml'
|
|
- '.github/actions/setup-php-composer/**'
|
|
- 'composer.json'
|
|
- 'composer.lock'
|
|
- 'scripts/ss_f5_cpu.php'
|
|
- 'tests/phpunit-f5-cpu.xml'
|
|
- 'tests/Unit/DataCollection/Scripts/F5CpuTest.php'
|
|
pull_request:
|
|
branches: [develop]
|
|
paths:
|
|
- '.github/workflows/script-coverage.yml'
|
|
- '.github/workflows/f5-cpu-coverage.yml'
|
|
- '.github/actions/setup-php-composer/**'
|
|
- 'composer.json'
|
|
- 'composer.lock'
|
|
- 'scripts/ss_f5_cpu.php'
|
|
- 'tests/phpunit-f5-cpu.xml'
|
|
- 'tests/Unit/DataCollection/Scripts/F5CpuTest.php'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: f5-cpu-coverage-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
coverage:
|
|
uses: ./.github/workflows/script-coverage.yml
|
|
with:
|
|
job-name: scripts/ss_f5_cpu.php 100% coverage
|
|
phpunit-config: tests/phpunit-f5-cpu.xml
|
|
extensions: intl, mysql, gd, ldap, gmp, xml, curl, json, mbstring, snmp
|