mirror of
https://github.com/Cacti/cacti.git
synced 2026-11-02 10:07:22 +09:00
47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
name: Notification API Coverage
|
|
|
|
on:
|
|
push:
|
|
branches: [develop]
|
|
paths:
|
|
- '.github/workflows/script-coverage.yml'
|
|
- '.github/workflows/notification-api-coverage.yml'
|
|
- '.github/actions/setup-php-composer/**'
|
|
- 'composer.json'
|
|
- 'composer.lock'
|
|
- 'lib/CactiEmailChannel.php'
|
|
- 'lib/CactiNotification.php'
|
|
- 'lib/CactiRecipient.php'
|
|
- 'lib/api_notification.php'
|
|
- 'tests/phpunit-notification-coverage.xml'
|
|
- 'tests/Unit/Core/CactiNotificationApiTest.php'
|
|
pull_request:
|
|
branches: [develop]
|
|
paths:
|
|
- '.github/workflows/script-coverage.yml'
|
|
- '.github/workflows/notification-api-coverage.yml'
|
|
- '.github/actions/setup-php-composer/**'
|
|
- 'composer.json'
|
|
- 'composer.lock'
|
|
- 'lib/CactiEmailChannel.php'
|
|
- 'lib/CactiNotification.php'
|
|
- 'lib/CactiRecipient.php'
|
|
- 'lib/api_notification.php'
|
|
- 'tests/phpunit-notification-coverage.xml'
|
|
- 'tests/Unit/Core/CactiNotificationApiTest.php'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: notification-api-coverage-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
coverage:
|
|
uses: ./.github/workflows/script-coverage.yml
|
|
with:
|
|
job-name: Notification API 100% coverage
|
|
phpunit-config: tests/phpunit-notification-coverage.xml
|