-
-
Notifications
You must be signed in to change notification settings - Fork 21
42 lines (33 loc) · 894 Bytes
/
coverage.yml
File metadata and controls
42 lines (33 loc) · 894 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: "Coverage"
on:
pull_request:
workflow_dispatch:
push:
branches: ["*"]
schedule:
- cron: "0 8 * * 1"
jobs:
coverage:
name: "Coverage"
runs-on: "ubuntu-latest"
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
- name: "PHP"
uses: "contributte/.github/.github/actions/setup-php@master"
with:
php: "8.4"
- name: "Composer"
uses: "contributte/.github/.github/actions/setup-composer@master"
with:
command: "composer install --no-interaction --no-progress --prefer-dist"
- name: "Run coverage"
run: "make init coverage"
- name: "Codecov"
uses: "codecov/codecov-action@v4"
with:
files: "./coverage.xml"
fail_ci_if_error: true
verbose: true
env:
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"